1825891 Members
3015 Online
109689 Solutions
New Discussion

Re: update in DNS server

 
kenken_3
Regular Advisor

update in DNS server

Hi,

Currently my DNS server is HP-UX11.0 server and it is also a NIS server. We have about 60 HP worksations now.

We are going to get 40 new SUN solaries worksation to join the current NIS domain and recogonize the current DNS server.

What I plan to do are:
1) A full backup for the DNS server;

2) make a copy of the db.domain and use vi to add in the new entry for the new 40 Sun machines to db.doamin directly.


Is this plan works and anything else I need to take care?

I don't want to edit the /etc/hosts first, then use hosts_to_named, then sig_named restart. It is because I think it is more complicated in this way.

Any suggestions or comments?

Thanks in advance,
wang & wang
7 REPLIES 7
Rainer von Bongartz
Honored Contributor

Re: update in DNS server

Absolutly no problems doing it this way

But what do you want to backup? If you are only going to edit your domain db files a backup of this should be sufficient

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
U.SivaKumar_2
Honored Contributor

Re: update in DNS server

Hi,
#cp db.domain db.domain.org
#vi db.domain
Do all the changes in the original BIND file.
( As you have copy of that db.domain.org , you are safe )
#ps -ef | grep named
#kill -1 `named's PID`

This is enough . Now your new configuration will come in to effect after some time (TTL).

regards,
U.SivaKumar
Innovations are made when conventions are broken
pap
Respected Contributor

Re: update in DNS server

There should not be any problem in doing that.
Just to make sure that do not forget to update the serial number in DNS databse files after making the changes.

-pap
"Winners don't do different things , they do things differently"
Sean OB_1
Honored Contributor

Re: update in DNS server

This should be adequate.

cp db.domain db.domain.20020829

vi db.domain

update serial number
add new entries
save db.domain

Ditto for reverse db if you have it.

ps -ef | grep named
kill -1 namedpid
kenken_3
Regular Advisor

Re: update in DNS server

Hi all,
Thanks a lot for your advise.

just one more question,how to update the serial number? using sig_named restart?

Thanks a lot,
wang & wang
Rainer von Bongartz
Honored Contributor

Re: update in DNS server


Increment it manually in db.domain; save it and then restart with sig_named restart

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Manoj Misra
Advisor

Re: update in DNS server

Hi,

Manual update is OK. but do not forget to change the seral no to propogate the entries to secondry server.

MM