LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RH9 adding to resolv.conf (https://www.linuxquestions.org/questions/linux-networking-3/rh9-adding-to-resolv-conf-114626/)

wdingus 11-10-2003 09:14 PM

RH9 adding to resolv.conf
 
Does anyone have an idea where to look for this? On a RedHat 9 server I have /etc/resolv.conf containing this:

nameserver 127.0.0.1
domain mydomain.com

When I reboot though a 3rd line is added that is this:

search myhost

Where myhost = the hostname of the server. Some startup script is adding that in and I want it to stop. Figured it would be easy to locate but so far it has eluded me.

Thanks!

Bluesuperman 11-11-2003 12:35 AM

cd /etc
find . -type f -depth -print | egrep "myhost"

that should do it -- it is most likely a network script that is adding it in there.

Michael -- Switch to slackware -- that will solve your problem :)


All times are GMT -5. The time now is 05:42 PM.