LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-10-2003, 09:14 PM   #1
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
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!
 
Old 11-11-2003, 12:35 AM   #2
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resolv.conf Snump Mandriva 54 10-31-2004 04:16 PM
/etc/resolv.conf mustangfanatic SUSE / openSUSE 5 10-18-2004 09:28 PM
resolv.conf?? wrat Linux - Newbie 3 06-14-2004 04:37 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM
Resolv.conf tristan_vdv Linux - Networking 2 11-20-2001 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration