[CentOS] resolv.conf question
Thomas Dukes
tdukes at sc.rr.com
Sat Feb 9 03:06:05 UTC 2008
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of John R Pierce
Sent: Friday, February 08, 2008 9:53 PM
To: CentOS mailing list
Subject: Re: [CentOS] resolv.conf question
Thomas Dukes wrote:
> Hello,
>
> I have a centos 4.6 system acting as a router for my local network. I
> obtain my eth0 IP address automatically via DHCP from my ISP,
> sc.rr.com. If I add 127.0.0.1 to resolv.conf, it won't save it. I
> tried adding this to my dhclient.conf
>
>
your ISP is supplying its DNS server settings via DHCP, this is whats
getting copied to /etc/resolv.conf for use by applications running on your
router.
> lease {
> option domain-name-servers 127.0.0.1; }
>
I don't think thats correct. assuming you're running your own DNS server on
this 'router', try...
interface "eth0" {
send dhcp-client-identifier 1:xx:xx:xx:xx:xx:xx;
prepend domain-name-servers 127.0.0.1; }
you need to change xx:xx:xx:xx... to your MAC address.
Thanks for the help!!
I guessing that's the MAC address for eth0?
TIA
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos
More information about the CentOS
mailing list