[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dns?



Sunday, 26 February 2006 23:10, L.V.Gandhi wrote:
> I have a system in which router attached to a cable modem rewrites
> /etc/resolve.conf whenever connection takes place. To the router 3 or
> 4 machines are connected and someitmes a machine with two interfaces
> ie eth0 and wlan0 are connected. How to go about caching dns in such
> a case?

Presumably, you are using DHCP. As I stated earlier in the thread, 
edit /etc/dhclient.conf. See the man page in section 5.

For example, if you want to use your own machine instead of the 
nameserver provided by the DHCP server, you would use something like:

supersede domain-name-servers 127.0.0.1;

-- 
Alex Nordstrom
http://lx.n3.net/
Please do not CC me in followups; I am subscribed to debian-user.

Attachment: pgpF4S33rHOgK.pgp
Description: PGP signature


Reply to: