>>> On Fri, 11 Jul 2003 05:50:12 -0500, John Nichel <[EMAIL PROTECTED]> said:

 jn> I have a Red Hat gateway setup (RH 9) which connects to the net via a
 jn> cable modem.  I would like this box to use itself as the nameserver,
 jn> but no matter what I've tried, it keeps getting the nameservers for my
 jn> ISP. I put the box's IP in resolve.conf, but that keeps getting
 jn> overwritten by "generated by /sbin/dhclient-script".  How can I force
 jn> it to use the nameservers that I tell it to use, while continuing to
 jn> use DHCP to connect to my ISP?  Thanks.

Do a 'man dhclient.conf'. 

The sample at the end of the man page shows this line in the config
file:

          prepend domain-name-servers 127.0.0.1;


You should be able to find what you're looking for somewhere in that
man page.

Johnie


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to