[Bug 1045616] Re: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf
David, I suggest you get a Linux expert to help you at your location. ** Changed in: bind9 (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1045616 Title: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1045616/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1045616] Re: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf
I think bug #1000244 is just describing the same issue in another way for sure. I'd be happy to work with someone with commit privileges in a virtual machine virgin install in my server cluster to reproduce the issue. I'm not savvy enough to try and determine if the problem comes from: resolvconf, default config in network stack for ubuntu, or some interaction when bind gets installed from the repo. I just know how to hard/code fix and work around the issue. IMHO, it definitely needs to be permanently fixed because whatever happens after a default install or upgrade, DNS resolution should just work, not require changes to get it working. FYI I was installing a centos 6.x system, and saw a similar interaction which would lead me towards a resolvconf or bind interaction. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1045616 Title: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1045616/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1045616] Re: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf
David T wrote in comment #8: > - Loaded Ubuntu 12.04 > - Tried to install [a package] > - couldn't resolve dns Possibly this is just another instance of bug #1000244. David T, can you reproduce the failure? ** Description changed: ARGH! Every release causes new problems >:( If you have: linux DHCP server on the network with options: option domain-name "xyz.com"; option domain-name-servers 4.2.2.2, 4.2.2.3; - In Ubuntu 10.x it works fine and pulls the DHCP client pulls the DNS - servers from the DHCP fine. + In Ubuntu 10.x it works fine and the DHCP client pulls the DNS servers + from the DHCP fine. Ubuntu 12.x - It's broken. - Trying to fix with: adding to /etc/network/interfaces - dns-nameservers 4.2.2.2 4.2.2.3 - dns-search xyz.com - FAIL. Because you have iface eth0 inet dhcp that option isn't read - Try and configure with Network Manager from commandline because your running a server. - NOPE, network manager doesn't run from CLI commandline only GUI + Trying to fix with: adding to /etc/network/interfaces + + dns-nameservers 4.2.2.2 4.2.2.3 + dns-search xyz.com + + FAIL. Because you have + + iface eth0 inet dhcp + + that option isn't read + + Try and configure with NetworkManager from command line because you're + running a server. NOPE, NetworkManager doesn't run from CLI command + line, only GUI. Can't manually specify the DNS server in /etc/resolv.conf because it's always getting overwritten. What's the best option here? I think this might be a bug. Only option I haven't tried is using the head file from this description: - Resolvconf has a /etc/resolvconf/resolv.conf.d/ directory that can contain “base”, “head”, “original” and “tail” files. All in resolv.conf format. + Resolvconf has a /etc/resolvconf/resolv.conf.d/ directory that can + contain “base”, “head”, “original” and “tail” files. All in resolv.conf + format. + base: Used when no other data can be found - head: Used for the header of resolv.conf, can be used to ensure a DNS server is always the first one in the list - original: Just a backup of your resolv.conf at the time of resolvconf installation - tail: Any entry in tail is appended at the end of the resulting resolv.conf. In some cases, upgrading from a previous Ubuntu release, will make tail a symlink to original (when we think you manually modified resolv.conf in the past) + + head: Used for the header of resolv.conf, can be used to ensure a DNS server is + always the first one in the list + + original: Just a backup of your resolv.conf at the time of resolvconf + installation + + tail: Any entry in tail is appended at the end of the resulting + resolv.conf. In some cases, upgrading from a previous Ubuntu release, + will make tail a symlink to original (when we think you manually + modified resolv.conf in the past) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1045616 Title: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1045616/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1045616] Re: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf
> FYI you can read comments from Virtualmin guys here: > https://virtualmin.com/node/23263#comment-105180-- "Access denied -- You are not authorized to access this page." ** Changed in: bind9 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1045616 Title: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1045616/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1045616] Re: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf
** Changed in: bind9 (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1045616 Title: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1045616/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1045616] Re: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf
I think I made a mistakeI'm not sure this is a bind, or virtualmin problem as the problem was occurring pre BIND or virtualmin install. Just to re-summarize the steps I originally took: - Loaded Ubuntu 12.04 - Tried to install virtualmin - couldn't resolve dns - found a workaround by editing the /resolvconf.d/head file - got virtualmin downloaded and installed I opened this ticket because step three I should have had DNS resolution and I didn'tthis problem was there on a virgin base install of Ubuntu 12 with no bind or virtualmin on the system and it was failing resolving DNS because it was pulling and using the DNS servers from the DHCP server. FYI you can read comments from Virtualmin guys here: https://virtualmin.com/node/23263#comment-105180-- -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1045616 Title: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1045616/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1045616] Re: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf
> but having BIND server installed shouldn't be affecting the > local DNS lookups, it's a stand-alone bind server... Yep, that sounds like my original guess: > probably a local DNS server that's installed and misconfigured > such that it's talking to resolvconf when it shouldn't be. So this sounds like bug #996088, except you say that this is a fresh install of 12.04 rather than an upgrade. Perhaps virtualmin is misconfiguring bind9? Anyway, not a resolvconf bug then; possibly a bind9 bug; reassigning. ** Package changed: resolvconf (Ubuntu) => bind9 (Ubuntu) ** Changed in: bind9 (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1045616 Title: DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1045616/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs