robox icon indicating copy to clipboard operation
robox copied to clipboard

remove hardcoded DNS servers

Open furlongm opened this issue 6 years ago • 5 comments

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

Closes #54

furlongm avatar Jul 09 '19 17:07 furlongm

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?

ladar avatar Aug 27 '19 11:08 ladar

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

furlongm avatar Aug 28 '19 04:08 furlongm

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.

ladar avatar Oct 18 '19 21:10 ladar

@ladar any updates?

Pesa avatar Mar 12 '23 01:03 Pesa

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

Jasper-Ben avatar Aug 28 '23 16:08 Jasper-Ben