Operating System - HP-UX
1835192 Members
2629 Online
110077 Solutions
New Discussion

DNS server change and xntpd/named on 10.20

 
david_252
Frequent Advisor

DNS server change and xntpd/named on 10.20

Team:

We are having a dns server pulled out in a 10.20 environment.I just wanted to make sure all the necessary files are modified. i have modified /etc/named.boot /usr/local/domain/named.ca and /etc/ntp.conf
files. I have stopped and started xntpd and named daemons. when i start my xntpd daemon it complainsthat it can't find my old dns server. I have removed it. Is there a step i am missing here. I think may be
in /etc/rc.config.d. The error comes from NTPDATE. Please help.

Thanks

David.
7 REPLIES 7
david_252
Frequent Advisor

Re: DNS server change and xntpd/named on 10.20

Hi:

Just found out that it comes from /etc/rc.config.d/netdaemons file. What would be the impact if i do not change the old dns server in this file as the changes may already have taken place in production???

Thanks
David.
Rick Garland
Honored Contributor

Re: DNS server change and xntpd/named on 10.20

Not making the change will mean that this server does not sync time. No name resolution so it does not know where to go. You are correct, in the /etc/rc.config.d/netdaemons file is where the modification should take place.
Sachin Patel
Honored Contributor

Re: DNS server change and xntpd/named on 10.20

David,
Are you removing/replacing dns server?

I am little confuse here.

/etc/rc.config.d/netdaemon file need to change if you want to start ntpd at boot time. /etc/ntp.conf file is configuration file of ntp.

/etc/named.boot file is the named configuration file.
You says you have change /usr/local/domain/named.ca i.e your dns maps are in /usr/local/domain. Why are you chaning named.ca file only that doesn't make sense.

Please explain in detail.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: DNS server change and xntpd/named on 10.20

David,
Are you removing/replacing dns server?

I am little confuse here.

/etc/rc.config.d/netdaemon file need to change if you want to start ntpd at boot time. /etc/ntp.conf file is configuration file of ntp.

/etc/named.boot file is the named configuration file.
You says you have change /usr/local/domain/named.ca i.e your dns maps are in /usr/local/domain. Why are you chaning named.ca file only that doesn't make sense.

Please explain in detail.

Sachin
Is photography a hobby or another way to spend $
david_252
Frequent Advisor

Re: DNS server change and xntpd/named on 10.20

Hi:

We have in /etc/ntp.conf and in named.boot and named.ca effected the changes for the OLD dnsserver which is going to be retired. we have 3 entries for nameservers one of which is the old server. so we need to remove the old server from the listed names. we did not do the change in the /etc/rc.config.d/netdaemons file in the line which says
export NTPDATE_SERVER="server1 server2 oldserver"
So what would be the impact of this???

Thanks
David.
Sachin Patel
Honored Contributor

Re: DNS server change and xntpd/named on 10.20

I don't think it will stop doing what it suppose to do.

ntpdate will ask server1 and server2 to set it times and fails when it ask for oldserver. But remove it anyway.

Sachin
Is photography a hobby or another way to spend $
Uday_S_Ankolekar
Honored Contributor

Re: DNS server change and xntpd/named on 10.20

If you are going to decommission the old box then I guess configure the new server with the ip-address and host name of old serve.


For DNS ,Copy files from /etc/named.data directory are imortant files

and for NTP ntp.conf , ntp.drift are importan ones.

-USA...
Good Luck..