Operating System - HP-UX
1833776 Members
2018 Online
110063 Solutions
New Discussion

DNS not seeing /etc/resolv.conf

 
SOLVED
Go to solution
Stephanie L Davenport
Frequent Advisor

DNS not seeing /etc/resolv.conf

I switched out my old hp-ux 10.01 machines for 10.01 machines that aren't quite as old. :) I used ignite to build the machines. But, when I switched them over this weekend, the dns portion is no longer working. They should go to /etc/resolv.conf first (which has the two dns servers listed) and then /etc/hosts. But, it is not seeing /etc/resolv.conf at all. Am I missing something?

Thanks for your help!

Steph
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: DNS not seeing /etc/resolv.conf

Make sure the permissions on /etc/resolv.conf are correct.

Make sure /etc/nsswitch.conf is there and has correct permissions and content.
Chan 007
Honored Contributor

Re: DNS not seeing /etc/resolv.conf

Hi,

Check the permission for /etc/nsswitch.conf &

the line

it should be

hosts: dns files


Chan
Stephanie L Davenport
Frequent Advisor

Re: DNS not seeing /etc/resolv.conf

Thank you for all your help. It was the permissions on the /etc/resolv.conf file. After the long weekend, I guess I missed that. :)

Thanks again,

Steph