HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

DNS Query

 
SOLVED
Go to solution
djoshi
Frequent Advisor

DNS Query

Hi All,

HP-UNIX 11 and 10.01

If we change the name of the DNS server in /etc/resolv.conf, in that case do we need to start any service in order to reflect the changes?

Thx for your help.
6 REPLIES
Steven Schweda
Honored Contributor
Solution

Re: DNS Query

I believe that the resolver reads the file
every time, so there's nothing to restart
there.

> [...] any service [...]

_Some_ service could cache something, but,
knowing nothing about _your_ services, I
wouldn't expect any trouble.

When in doubt, I say, "Run the experiment."
(And be ready to re-boot.)
S. Ney
Trusted Contributor

Re: DNS Query

I've added a nameserver IP address in my /etc/resolv.conf files w/o reboot as well as remove an old IP. I also have the fully qualified name of the dns server in my /etc/hosts.

Do you have any applications running that are dependent on a specific dns server? Also what about your nsswitch.conf? I'd consider those factors but I haven't had problems when pointing to a new DNS server w/in my org.
harry d brown jr
Honored Contributor

Re: DNS Query

harry d brown jr
Honored Contributor

Re: DNS Query

Sorry wrong link, try this instead, where I discuss DNS Caching:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=840826&admit=109447626+1282246710538+28353475

good luck,
harry
Live Free or Die
rick jones
Honored Contributor

Re: DNS Query

I don't recall HP-UX 11.0 or 10.01 (quite old bits - even when released, HP wanted people off of 10.01 pretty quickly...) checking /etc/resolv.conf after the first name query, so my inclination would be to restart any service you would like to see the change.
there is no rest for the wicked yet the virtuous have no pillows
djoshi
Frequent Advisor

Re: DNS Query

Thx to all who answer my query.