New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom DNS entries for kube-dns #41328
Comments
This is recently added to kube-dns here. It will be configurable through a config-map. This functionality should land in the 1.6 release of Kube. |
Thank you @cmluciano :-) However, I think it's not the same feature. That new option allows to pass nameserver. I was referring to the possibility of passing custom name/address pairs, without setting up a DNS server. |
@morallo -- it would be great to write up a example of what you are looking for and we can go from there.
|
Open the issue on kubernetes/dns, so it will be more visible to the DNS work (kube-dns has been split off into a separate repo)... |
Thanks all for the replies. |
Is this a request for help?: No.
What keywords did you search in Kubernetes issues before filing this one?: kube-dns custom dns entry
Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST
Kubernetes version (use
kubectl version
): v1.5.2Environment:
uname -a
): 3.16.7What happened: Entries in /etc/hosts of the nodes are not used by kube-dns. There is no way to replicate this custom DNS configuration for the cluster.
What you expected to happen: Some way to easily define custom DNS entries used by kube-dns, without deploying an additional DNS server.
Anything else we need to know:
Already considered solutions:
Possible solutions:
/etc/hosts
entries, like it does for /etc/resolv.conf. This is not very elegant and doesn't scale, but it replicates a capability currently existing in non containerized system administration.The text was updated successfully, but these errors were encountered: