Skip to content
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

remove hardcoded DNS servers #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

furlongm
Copy link

@furlongm furlongm commented Jul 9, 2019

First pass at removing hardcoded DNS servers so these boxes can use the DHCP-supplied DNS server.

Closes #54

@ladar
Copy link
Member

ladar commented Aug 27, 2019

Leaving this open for now. I'll need to do some testing before merging.

I assume these changes mean the boxes won't work if they don't get a DNS server via DHCP?

Any idea how we can setup fall back resolvers?

@furlongm
Copy link
Author

The boxes won't have working DNS if they don't get a DNS server via DHCP.

For systemd-enabled systems with resolved, fallback resolvers can be specified in /etc/systemd/resolved.conf:

e.g.

FallbackDNS=1.1.1.1

@ladar
Copy link
Member

ladar commented Oct 18, 2019

I've tried using this, and it caused a number of the box creation configs to fail, particularly on Hyper-V. Setting a FALLBACK also caused problems on the boxes I tried it with.

I'm still traveling, so part of the problem could have been the crappy hotel DNS servers. I plan to play with this more when I get a Windows built bot setup at the datacenter.

I'm also hoping that when I finally get the robox blade servers online it will be easier to test out changes like this across all the different box/distro/platform combinations.

Long story short, this request isn't dead, just pending further research.

@Pesa
Copy link

Pesa commented Mar 12, 2023

@ladar any updates?

@Jasper-Ben
Copy link

Also interested in a fix. We just ran into this issue with a split DNS setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

dns servers hardcoded in generic/ubuntu1804
4 participants