NetworkManager vs Cacheing nameserver

Tim ignored_mailbox at yahoo.com.au
Tue Jan 5 07:52:34 UTC 2010


On Tue, 2010-01-05 at 00:39 +0000, Patrick O'Callaghan wrote:
> I installed bind and tried to use it as a basic cacheing nameserver,
> which in principal just means running named and
> pointing /etc/resolv.conf to 127.0.0.1. However resolv.conf keeps
> getting overwritten by NetworkManager,

Are you able to configure your DHCP server?  On my network, my DHCP
server tells all the clients to use my DNS server, because that's how
I've configured it, and everything is hunky dory.

If you're trying to ignore information from your DHCP server (because
you can't configure it), then you need to play with configuring your
DHCP client.  That used to be by the /etc/dhclient.conf file, but I seem
to recall that you'd put a special copy of the options into some other
location, one read by Network Manager.

> I notice an excessive number of "Resolving foo ..." messages from
> Firefox and Chrome, i.e. no cacheing is being done as far as I can
> tell. Note that I didn't touch named.conf or any other config files.

If the domains being resolved set silly zero-second (or similar) record
life data, then your caching name server is going to honour that.  But
are you sure that those warnings are about the same records over and
over?

I've noticed that, at least in the past, Firefox will do some of its own
caching.  i.e. The next time it needs a connection to example.com,
Firefox uses the same IP without consulting a DNS server.  It's been
necessary to quit and restart Firefox to test changes to DNS records.

You might want to play with the dig tool and your name server.

-- 
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.






More information about the fedora-list mailing list