Operating System - HP-UX
1838601 Members
3069 Online
110128 Solutions
New Discussion

changing DNS entries in /etc/resolv.conf (HP-UX)

 
SOLVED
Go to solution
GSB_3
Frequent Advisor

changing DNS entries in /etc/resolv.conf (HP-UX)

Hi,

I want to change my DNS entires in /etc/resolv.conf in HP-UX box. Please tell me whether I need to reboot the server after changing these entries or any other way to update it without rebooting the box.

Thanks in advance
GSB
4 REPLIES 4
John Payne_2
Honored Contributor
Solution

Re: changing DNS entries in /etc/resolv.conf (HP-UX)

There shouldn't be a need to reboot your machine. Most everything calls the resolver that hits the file, there is nothing to refresh, it just reads the thing.

I've had a number of situations, generally during installations and a few minor wierd cases where the /etc/resolv.conf file was wrong. Simply editing it fixed the problems at hand.

Hope it helps
John
Spoon!!!!
Rasheed Tamton
Honored Contributor

Re: changing DNS entries in /etc/resolv.conf (HP-UX)

Hi,

Unlike on Solaris - you do not have to do anything. Just update the file. The resolver will automatically read it.

Regards,
Rasheed Tamton.
mavrick
Regular Advisor

Re: changing DNS entries in /etc/resolv.conf (HP-UX)

Hi,

After updating the resolv.conf you can test
your dns resolving by the comand

nslookup

THNAKS..
mavrick
Regular Advisor

Re: changing DNS entries in /etc/resolv.conf (HP-UX)

Hi,

After updating the resolv.conf you can test
your dns resolving by the comand

nslookup

thanks....