[Novalug] How Lock DNS Server i.p.?

Peter Larsen plarsen@famlarsen.homelinux.com
Mon Sep 20 14:31:14 EDT 2010


On Mon, 2010-09-20 at 13:01 -0400, Roger W. Broseus wrote:
> I want to have fixed i.p. for my DNS server.  One post to Ubuntu forums 
> suggested adding the following to /etc/resolv.conf:
> 
>     prepend domain-name-servers your.name.server.ipaddr;

Huh? This isn't a resolve question. It's your dhcp that gives you your
DNS server list, which is why you'll find that /etc/resolv.conf is
usually marked as changed by dhclient. 

All NetworkManager is, is a wrapper. It still runs dhclient. And
"lo-and-behold" in dhclient.conf is a prepend option. Try removing the
option from /etc/resolv.conf and using it as you write you would have
done it in resolv.conf. It does NOT go in there. That file gets
overwritten by dhclient anyway (or by NetworkManager by proxy).

>     prepend domain-name-servers 38.119.98.220, 216.93.191.228;

Plug that into /etc/dhclient.conf and see what happens when you renew
your IP.

-- 
Best Regards
  Peter Larsen

Wise words of the day:
'Ooohh.. "FreeBSD is faster over loopback, when compared to Linux
over the wire". Film at 11.'
	-- Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20100920/816c416c/attachment.asc>


More information about the Novalug mailing list