LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS Potential Problem (https://www.linuxquestions.org/questions/linux-networking-3/dns-potential-problem-29907/)

htimst 09-08-2002 01:40 PM

DNS Potential Problem
 
Hi,

I am running three DNS servers using BIND (not aware of version but latest updated from RedHAT).

I have noticed in the last couple of weeks, the secondary and tertiary name servers are not getting updated zone files from the primary name server.

Also, if I make changes to the primary, they are not resolving around the globe.

In /var/log/messages named is starting up and running fine, but I wonder, how can I query just this machine to see if it is actually running?

Thanks!

finegan 09-08-2002 07:10 PM

Are you incrementing the entry in .zone file called "serial", that's what tells Named to reload the record between changes. Also, what's your "refresh" time in the .zone file?

Also, if you've upgraded from Bind 8.x to 9.x you're going to have to make changes to the .zone files to get them to work at all.

Cheers,

Finegan

htimst 09-08-2002 09:33 PM

I'm using BIND 9.2.1

My serials are incremented and I get no errors on loading my zone files in /var/log/messages

A typical zone file will look like this...

;
; Zone file for domain.com
;
$TTL 3D
domain.com. IN SOA ns1.nameserver.com. hostmaster.isp.com. (
01092107 ; serial, todays date + todays serial #
8H ; refresh, seconds
2H ; retry, seconds
1W ; expire, seconds
1D ) ; minimum, seconds
;
domain.com. NS ns1.nameserver.com.
domain.com. NS ns2.nameserver.com.
;
domain.com. A xxx.xxx.xxx.xxx
www.domain.com. A xxx.xxx.xxx.xxx
ftp.domain.com. A xxx.xxx.xxx.xxx

domain.com. IN MX 0 mail.isp.com.

This is the standard zone file format that I am using.

Is there a way to query JUST this ns1 server to see whether it's responding or not?

Thanks for your help so far.

Cheers!

peter_robb 09-09-2002 06:45 AM

'dig domain.com @ns1.nameserver.com'

'man dig' will give you more options.

Regards,
Peter

sarin 09-09-2002 10:21 AM

I don't know if this matters at all. But check the date on the servers. Since serials are made of dates, I think even if the client date is wrong then the files may not get updated.
--Sarin

htimst 09-09-2002 10:40 AM

Hrmmm....dates are fine and the server queries fine. I have no idea why the slave nameservers aren't updating from master. They used to. Thanks for the help so far.

Cheers!


All times are GMT -5. The time now is 02:11 PM.