Open PAI5REECHO opened 11 months ago
Hi @PAI5REECHO, currently the container uses the scratch
Docker image and only contains the external-mdns
binary. This would need a different base image, such as Alpine, in order to allow you to exec into the container.
If you're simply looking to test .local
DNS resolution from within the cluster, you might try out nicolaka/netshoot.
@PAI5REECHO this project publishes MDNS announcements, it doesn't resolve them - the use cases will be hosts outside of your cluster and it does not directly cater for the scope you mentioned. What you would need is MDNS support in the DNS resolvers used by the Kubernetes nodes which the pods forward onto and this would typically mean an MDNS resolver running on each Kubernetes node by default but this again depends on the pod configuration as well as the specific Kubernetes node implementation you are using.
How do I configure mDNS to work within the cluster itself? i.e.: