LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-12-2006, 12:24 PM   #1
Cypher12
LQ Newbie
 
Registered: Sep 2006
Location: Toronto, Canada
Distribution: Gentoo, Fedora Core
Posts: 18

Rep: Reputation: 0
HELP: slave DNS is not updating Zone FIle from Master


Hello all,

I am having a problem with my slave dns server ... it is not updating the zone files form my master DNS server. Does anybody know what my problem may be??

The Master works well on its own ... it responds to nslookups on valid hosts ... but using nslookup on the slave, for the same host, will fail.

I don't think its a huge error, it may be a small fix ... but I don't know what it may be, nor how to fix it.

Here its probably better if I clarify with some parameters mapped out ........ as well as the test I use to know somethings wrong (read below)

-----------------------------------------------------------------
Master 172.1.5.5
----------------------------------------------------------------

DNS State = Started!!
DNS Forwarder ip = 192.168.XX.X;
DNS Mode = Master
DNS Nameserver ip = 172.1.5.5
DNS Network = 172.1.0.0
DNS Netmask = 255.255.0.0
Domain Name = p.org
DNS Slave = 172.1.1.1

testperson@itsa255 ~ $ nslookup nsName.p.org
Server: 172.1.5.5
Address: 172.1.5.5#53

Name: nsName.p.org
Address: 172.1.55.55



-----------------------------------------------------------------------------------
Slave 172.1.1.1:
-----------------------------------------------------------------------------------

DNS State = Started!!
DNS ForwarderList = 192.168.XX.X;
DNS Mode = slave
DNS Nameserver ip = 172.1.1.1
DNS Network = 172.1.0.0
DNS Netmask = 255.255.0.0
DNS DomainName = itsadomain.org
DN[/b]S Master = 172.1.5.5

testperson@itsadomain ~ $ nslookup nsName.p.org
Server: 172.1.1.1
Address: 172.1.5.5#53

** server can't find NsName.p.org: NXDOMAIN

**************************************************************************************************** **********************

When I do the nslookup on the slave, it should still see the 172.1.55.55 address I assigned to my fake nsName host I added to the Master DNS, but it of course does not, even though my master does see it.

Thanks for your time
 
Old 09-12-2006, 12:40 PM   #2
Cypher12
LQ Newbie
 
Registered: Sep 2006
Location: Toronto, Canada
Distribution: Gentoo, Fedora Core
Posts: 18

Original Poster
Rep: Reputation: 0
Hey again,

Additional here are some of the Master and Slave Log Files;

---------------------------------
Slave DNS Log
----------------------------------

12-Sep-2006 13:26:52.181 general: info: shutting down
12-Sep-2006 13:26:52.181 general: notice: stopping command channel on 127.0.0.1#953
12-Sep-2006 13:26:52.183 network: info: no longer listening on 127.0.0.1#53
12-Sep-2006 13:26:52.183 network: info: no longer listening on 172.1.1.1#53
12-Sep-2006 13:26:52.189 general: notice: exiting
12-Sep-2006 13:27:06.485 general: info: zone 0.0.127.in-addr.arpa/IN: loaded serial 2005010100
12-Sep-2006 13:27:06.489 general: info: zone 1.172.in-addr.arpa/IN: loaded serial 2006091105
12-Sep-2006 13:27:06.493 general: info: zone localhost/IN: loaded serial 2005010100
12-Sep-2006 13:27:06.494 general: notice: running
12-Sep-2006 13:27:06.502 general: info: zone itsadomain.org/IN: refresh: non-authoritative answer from master 172.1.5.5#53 (source 0.0.0.0#0)
12-Sep-2006 13:28:05.500 general: info: zone itsadomain.org/IN: refresh: non-authoritative answer from master 172.1.5.5#53 (source 0.0.0.0#0)
12-Sep-2006 13:29:38.501 general: info: zone itsadomain.org/IN: refresh: non-authoritative answer from master 172.1.5.5#53 (source 0.0.0.0#0)
12-Sep-2006 13:32:43.505 general: info: zone itsadomain.org/IN: refresh: non-authoritative answer from master 172.1.5.5#53 (source 0.0.0.0#0)



********************************************************************

---------------------------------
Master DNS Log
---------------------------------

12-Sep-2006 13:22:47.472 xfer-out: info: client 172.1.1.1#2040: transfer of '1.172.in-addr.arpa/IN': AXFR-style IXFR started
12-Sep-2006 13:22:47.473 xfer-out: info: client 172.1.1.1#2040: transfer of '1.172.in-addr.arpa/IN': AXFR-style IXFR ended
12-Sep-2006 13:48:15.619 general: info: shutting down
12-Sep-2006 13:48:15.620 general: notice: stopping command channel on 127.0.0.1#953
12-Sep-2006 13:48:15.621 network: info: no longer listening on 127.0.0.1#53
12-Sep-2006 13:48:15.622 network: info: no longer listening on 172.1.5.5#53
12-Sep-2006 13:48:15.627 general: notice: exiting
12-Sep-2006 13:48:31.654 general: info: zone 0.0.127.in-addr.arpa/IN: loaded serial 2005010100
12-Sep-2006 13:48:31.658 general: info: zone 1.172.in-addr.arpa/IN: loaded serial 2006091105
12-Sep-2006 13:48:31.661 general: info: zone localhost/IN: loaded serial 2005010100
12-Sep-2006 13:48:31.666 general: info: zone p.org/IN: loaded serial 2006091108
12-Sep-2006 13:48:31.667 general: notice: running
12-Sep-2006 13:48:31.667 notify: info: zone p.org/IN: sending notifies (serial 2006091108)



***************************************************************

Hope someone is an excellent debugger
Thanks and Take Care
 
Old 09-12-2006, 06:12 PM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
So these are the zones the master is loading...
Code:
general: info: zone 0.0.127.in-addr.arpa/IN: loaded serial 2005010100
general: info: zone 1.172.in-addr.arpa/IN: loaded serial 2006091105
general: info: zone localhost/IN: loaded serial 2005010100
general: info: zone p.org/IN: loaded serial 2006091108
...but yet it looks like the slave is requesting a zone be transfered from the master by the name of itsadomain.com. You loaded p.org on the master, not itsadomain.org, so the master is replying that its not authoritative (which is correct).
Code:
general: info: zone itsadomain.org/IN: refresh: non-authoritative
answer from master 172.1.5.5#53 (source 0.0.0.0#0)
 
  


Reply



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
BIND Slave server never gets zone transfer from master. HELP!! quackking Linux - Networking 2 08-30-2006 12:54 PM
DNS Server: Master/Slave Swakoo Linux - Networking 3 06-30-2006 04:58 AM
Tricks for performing a master -> slave zone/domain transfer from WIN2003 to Suse 10 zippie74 Linux - Networking 4 05-16-2006 01:50 AM
Bind DNS Slave zone macadam Linux - Networking 2 03-02-2005 06:49 AM
Master/Slave server DNS emailssent Linux - Networking 2 10-04-2004 03:21 AM

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

All times are GMT -5. The time now is 12:22 PM.

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