blake / external-mdns

A service to advertise records for Kubernetes resources on a LAN over multicast DNS.
Apache License 2.0
65 stars 9 forks source link

No mDNS records are published #8

Open PAI5REECHO opened 1 year ago

PAI5REECHO commented 1 year ago

In my external-dns Pod logs it is correctly reporting/publishing the mDNS records I want for the Ingresses I have configured in my cluster, but no mDNS records are ever actually published over the network. I captured all the IGMP & UDP port 5353 traffic from my K8s node running external-mdns with tcpdump -i any 'udp port 5353 or igmp' -w /tmp/mdns.pcap and all I see are some IGMP membership report packets being sent out but nothing else (nothing on mDNS ports).

nlflint commented 1 year ago

Does your external-mDNS deployment/pod have hostNetwork: true? It needs access to the nodes host interface for the multicast packets to leave the cluster.