LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2002, 01:40 PM   #1
htimst
LQ Newbie
 
Registered: Nov 2001
Distribution: RedHat 7.2
Posts: 24

Rep: Reputation: 15
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!
 
Old 09-08-2002, 07:10 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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
 
Old 09-08-2002, 09:33 PM   #3
htimst
LQ Newbie
 
Registered: Nov 2001
Distribution: RedHat 7.2
Posts: 24

Original Poster
Rep: Reputation: 15
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!

Last edited by htimst; 09-08-2002 at 09:38 PM.
 
Old 09-09-2002, 06:45 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
'dig domain.com @ns1.nameserver.com'

'man dig' will give you more options.

Regards,
Peter
 
Old 09-09-2002, 10:21 AM   #5
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
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
 
Old 09-09-2002, 10:40 AM   #6
htimst
LQ Newbie
 
Registered: Nov 2001
Distribution: RedHat 7.2
Posts: 24

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Potential Slack User karuptdata Slackware 8 09-22-2005 07:44 PM
potential virus? minm Linux - Newbie 5 10-29-2004 03:48 PM
windows has lotīs of potential... pevelius General 10 09-16-2004 07:34 AM
Need to Utilize Full Potential md2bn08 Linux - Newbie 4 06-28-2004 11:31 AM
iptables - I added a second nic and cannot ssh to it. Log shows a potential problem. ForumKid Linux - Security 12 01-18-2002 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration