How to setup DNS server list on a static IP Ubuntu server?
sktsee
sktseer at gmail.com
Tue Jan 3 18:42:15 UTC 2012
On 01/03/2012 11:05 AM, Knute Johnson wrote:
> On 1/2/2012 11:53 PM, sktsee wrote:
>> The apt-cache description for the resolvconf package says you should
>> look at the README file in /usr/share/doc/resolvconf for detailed
>> instructions. Although I don't use resolvconf, I did examine the package
>> and found that it employs debconf. This means that running "sudo
>> dpkg-reconfigure resolvconf" should step you through series of screens
>> for setting config options.
>>
>
> Thanks for the heads up on the docs. I tried running the reconfigure but
> there is an error;
>
> update-rc.d: warning: resolvconf stop runlevel arguments (none) do not
> match LSB Default-Stop values (0 6)
>
> It did however put the DNS server addresses into my resolv.conf but if I
> restart the machine I don't have any DNS resolution until I do an ifdown
> and ifup, then it works fine.
>
> Any more insights would be greatly appreciated.
Looks like you are running into the following bugs:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/366967
ifupdown-udev integration should be thought-out more thoroghly
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/448095
resolvconf starts after ifupdown, does not pick the dns-nameserver and
dns-search lines up from /etc/network/interfaces
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/750423
update-rc.d: warning: resolvconf stop runlevel arguments (none) do not
match LSB Default-Stop values
There is a fixed package located in the PPA of resolvconf's Debian
maintainer here:
https://launchpad.net/~jdthood/+archive/resolvconf/+files/resolvconf_1.63ppa9_all.deb
Since its a single package, I would just install from the above link
rather than going to the trouble of adding a PPA. Eventually this may
make it into the oneiric-backports repo, but that depends on whether a
Ubuntu maintainer submits it.
>
> I'm really not sure why you would want this automatic resolvconf in a
> server installation. Maybe I should just uninstall it.
>
> Thanks,
If you are running a system where your nameserver addresses are fairly
static for most or all of your programs and services, then resolvconf
would probably be unneccessary.
--
sktsee
More information about the ubuntu-users
mailing list