1825775 Members
2473 Online
109687 Solutions
New Discussion

about named

 
eric_88
Occasional Contributor

about named

hi expert,
I want to change the configuration of name server,and i modify the file in directory /etc/named.data,
if i want to apply the change, what should i do?
we have two dns server, one primary and one secondy, i am not sure just restart the named deamon will take the effect, if i also do any other action??
hello
5 REPLIES 5
Michael Tully
Honored Contributor

Re: about named

Hi,

The information in this posting should help you.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x650557bd90a9d611abdb0090277a778c,00.html

Regards
Michael
Anyone for a Mutiny ?
KapilRaj
Honored Contributor

Re: about named

As per my under standing u need to restart named daemon at primary. kill -1 would be fine. not 100 % sure so do it with care

kaps
Nothing is impossible

Re: about named

You need to increment the serial numbers in any database file you modified. Then run sig_named restart on the primary and then run sig_named restart on the secondary
Sean OB_1
Honored Contributor

Re: about named

Ok here goes.

If you are adding a new zone (say a new domain you are now resolving) modify named.conf and add the zone entry.

Then in the zone directory add the zone file.


If you are just adding hosts to an existing zone edit the zone file. Add the host, and make sure to update the serial number at the top of the zone file. This is what is used to tell slaves that the zone has changed.

Then do:

ps -ef | grep named
find the process id and issue

kill -1 pid-of-named

This will recycle named and cause it to load the new zone file. The slave servers will also realize that an updated zone is out there and should initiate a zone transfer of the updated zone.

Sean OB_1
Honored Contributor

Re: about named

Just an FYI. There is no need to restart the seconday server when you update the primary correctly.