Re: adding/removing DNS servers in Mac OS X
Re: adding/removing DNS servers in Mac OS X
- Subject: Re: adding/removing DNS servers in Mac OS X
- From: Allan Nathanson <email@hidden>
- Date: Thu, 14 Mar 2002 14:45:40 -0500
As to who things "work"... A handful of configd plugins pull together
the
various sources of DNS configuration information (manual settings, DHCP
derived settings, PPP derived settings), figure out which configuration
should be active (based on which interface is deemed "primary"), and the
/etc/resolv.conf file is updated. After the file has been updated we
give
a kick to lookupd to tell it that a new configuration is available.
So if someone does edit /etc/resolve.conf and kicks lookupd, it will read
the new configuration? If configd decides another configuration should be
active, it might update /etc/resolve.conf with the new settings blowing
away
anything that a user or VPN may have manually entered in
/etc/resolve.conf?
Yes. You can update the /etc/resolv.conf and tell lookupd to take notice
of the change. Everything will work until some network event triggers the
configd plugins to update the file. At that point in time any change that
you have made will get blown away (but that's what you get for doing
things behind our back).
- Allan
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.