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! |
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. |