-
Notifications
You must be signed in to change notification settings - Fork 33
Ability to override resolv.conf DNS servers #1195
Description
Is your feature request related to a problem? Please describe.
When we are working on the hybrid migration we have placed a second DNS server in front of the bosh-dns so that we can manage dual DNS lookups.
Quarks always sets the spec.dnsConfig like this ...
{
"nameservers": [
"172.21.190.24"
],
"options": [
{
"name": "ndots",
"value": "5"
}
],
"searches": [
"kubecf.svc.cluster.local",
"svc.cluster.local",
"cluster.local"
]
}
Where 172.21.190.24 is the ip of the bosh-dns server. we would like to be able to override that and set it to a different static IP.
Describe the solution you'd like
Have the ability to set a parameter in the manifest that quarks will accept to use as an override of the server values. if not set it should default to the standard configuration.
Describe alternatives you've considered
We are currently forced to manually update the /etc/resolv.conf and we also need customer configuration on the dns server so we cannot add new config into the current bosh-dns to support the use case.
Additional context
See initial discussion in slack here https://cloudfoundry.slack.com/archives/C1BQKKNP4/p1602782923025400