Red Hat Installation - Question on resolv.conf

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Installation > July 2004 > Question on resolv.conf





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Question on resolv.conf
Joe H.

2004-07-09, 11:58 am

Hi,
Everytime I change the values in resolv.conf to the correct DNS values, the
script dhclient-script seems to change them to different values.
Is there a way to fix this?
Many thanks,
Joe


Bit Twister

2004-07-09, 11:58 am

On Tue, 6 Jul 2004 08:53:32 -0500, Joe H. wrote:
> Hi,
> Everytime I change the values in resolv.conf to the correct DNS values, the
> script dhclient-script seems to change them to different values.
> Is there a way to fix this?


Yes, if dhclient is doing the changes. Since you provided no
information of whwat is being changed I'll take a SWAG.

If
grep -i perrdns /sbin/dhclient-script
returns something then try adding
PEERDNS=no
to /etc/sysconfig/network-scripts/ifcfg-ethX file. You solve for X
Modify resolv.conf and a
/etc/rc.d/init.d/network restart
cat /etc/resolv.conf
to see what happened.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com