cancel
Showing results for 
Search instead for 
Did you mean: 

resolv.conf missing

SOLVED
Go to solution
Andrew medhurst1
Frequent Advisor

resolv.conf missing

can anyone explain why under a new install of 11.31 resolv.conf is no longer present.
i know i can create it and there is no iissue with that but wondered what the thinking from HP might have been to not have it in the default build as with 11.11.
regards
andrew
6 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: resolv.conf missing

Shalom,

For years HP-UX shipped with no /etc/nsswitch.conf file, but a couple of candidates sitting in /etc

cd /etc
ll resolv.*

I am betting there are a few candidates you can pick one for production.

Otherwise write a simple one. Pull it off another HP-UX system.

It is the HP way.

HP-UX is still an industrial strength, rocking OS.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: resolv.conf missing

I'm not sure what you mean: "...to not have it in the default build as with 11.11"

I have ALWAYS had to set up my resolv.conf by hand. The exception might have been if I set up the DNS servers on the appropriate screen during installation.

There is really no way to have any sort of default for a resolv.conf file. This contains **YOUR** DNS servers. How can HP know that?

melvyn burnard
Honored Contributor

Re: resolv.conf missing

I do not recall there EVER being a default /etc/resolv.conf, all the way from HP-UX 1.0 (yes that is one dot zero!) until now.
It is put there either by manually creating the file, or at installation time supplying the additional networking iinformation, which includes DNS servers.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
James R. Ferguson
Acclaimed Contributor

Re: resolv.conf missing

Hi Andrew:

A missing '/etc/resolv.conf'?. The contents are quite simple and wholly dependent upon your needs. A skeletal one is usually setup during a cold-install. Maybe that changed in 11.31, but I'm not sure.

Regards!

...JRF...
Andrew medhurst1
Frequent Advisor

Re: resolv.conf missing

thanks for the reply's, mabe all these years i have been adding info at build but i could have sworn there was always a blank file that you then populated to your needs. but no major issue i have already created was just asking if there was some policy change reference resolv, I.E. new file configuration.
thanks again for the replys.
regards
Bill Hassell
Honored Contributor

Re: resolv.conf missing

A simpler question would be:

What would the default resolv.conf contain?

Since it is totally dependent on the local environment, whatever it might contain, it would always be wrong. Perhaps you have seen it when you initially setup a system and questions about DNS were asked up front. In that case, resolv.conf will then be created.


Bill Hassell, sysadmin