Operating System - HP-UX
1832833 Members
2834 Online
110047 Solutions
New Discussion

Re: My secondary DNS is not updated

 
Mauro Cimino_2
Frequent Advisor

My secondary DNS is not updated

I have the primary INTERNAL dns and a secondary Dns(this is what I would); But the secondary is not update; when I add a name in files on master DNS, Have I to modify something in the secondary
6 REPLIES 6
Chuck J
Valued Contributor

Re: My secondary DNS is not updated

Are you using BIND on HP-UX or something like that?

Chuck J
steven Burgess_2
Honored Contributor

Re: My secondary DNS is not updated

Mauro

On your secondary server your database files will have a Refresh field, this is the time in seconds after which the server checks for any updated files on the primary

Fields are like

IN SOA

1 ; Serial
10800 ; Refresh every 3 hrs
3600 ; retry every hour

And so on

However , you can update the secondary any time using the

#sig_named restart

command

HTH

Steve
take your time and think things through
Robert Thorneycroft
Valued Contributor

Re: My secondary DNS is not updated

Alternatively if you are setting up a BIND 8.1.2 server you can set up the header in the db files on the master server as follows:

@ IN SOA primary.dns.co.uk. root.primary.dns.co.uk. (
13 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire after a week
86400 ) ; Minimum ttl of 1 day
IN NS primary.dns.co.uk.
IN NS secondary.dns.co.uk.

This way when you have an update and restart the named process the changes will be pushed out to your secondary server as opposed to waiting for a sheduled check.

You should note that this cannot be done on version 4 of BIND.

Kind regards,

Robert Thorneycroft
Mauro Cimino_2
Frequent Advisor

Re: My secondary DNS is not updated

Yes, but I think the problem is in how the secondary i set to be updated from primary. somebody can send me an example to do this?
Where do I specify my 2nd dns is secondary of my 1st DNS?
U.SivaKumar_2
Honored Contributor

Re: My secondary DNS is not updated

Hi,

After you any changes in Primary DNS server's database files you have increment the serial
number which is resent in those files.

example

serial 1000

Then change to

serial 1001

regards,
U.SivaKumar
Innovations are made when conventions are broken
Karvendhan M
Frequent Advisor

Re: My secondary DNS is not updated


1. You should have proper NS records on primary.

2. Your Secondary servers should have permission to do a zone-transfer.

3. Your secondary should have the proper config file statements and correct ip of primary,

4. Zone serial no should be updated on every modification.

5. Refresh, retry, expire and minimum values on zone file should be valid.


Are you running BIND? Which version is running on primary server?

Lot more things to check, as you have not given enough details.


FIRST: are you setting up a new secondary? or troubleshooting a secondary, worked well sometime before?


~ Kars