Comment 5 for bug 999725

Revision history for this message
Nathan Stratton Treadway (nathanst) wrote : Re: [Bug 999725] Re: broken start-up dependencies for ntp

On Thu, May 17, 2012 at 16:46:15 -0000, Paul Crawford wrote:
> Results for 12.04 machine are:
> $ ls -l /etc/resolv.conf
> lrwxrwxrwx 1 root root 29 Apr 30 17:39 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
>
> $ cat /etc/resolv.conf
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
> # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

Yes, this confirms that resolvconf is install and active, but not
getting any DNS configuration information.

>
> On another 10.04 machine I get a file, and its contents have our DNS
> servers listed.

Yes, the resolvconf package wasn't (generally) using in Lucid, so you
probably have a "static" resolv.conf file to go along with a static
network interface definition. (You can check by seeing if "ls -l
/etc/resolv.conf" shows a normal file, and has a modification date from
a while ago.)

>
> But if resolv.conf is missing this, and we don't have any dns-
> nameservers in /etc/network/interfaces, then how is the machine getting
> DNS later when everything seems normal?

Yes, that's definitely a key question...

What happens if you try "ping ntp0.dundee.ac.uk" from that box? (It
doesn't matter if the ping itself actually succeeds, but the question is
whether it can resolve the name to an IP number.) How about "host
ntp0.dundee.ac.uk"?

      Nathan