LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-16-2013, 03:29 PM   #1
gthaker
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
What would BIND zone file for "com." look like?


I am trying to setup some root and top level domain DNS servers in order to learn more. What I don't understand is what com.zone file would like like. Given that DNS servers for "com." are the list below:

Code:
a.gtld-servers.net.      A 192.5.6.30
b.gtld-servers.net.      A 192.33.14.30
c.gtld-servers.net.      A 192.26.92.30
....
I have setup my com.zone file as below. But using named-checkzone I get the errors indicated. I don't know how one can avoid "ignoring out-of-zone data" message; and not sure why it is not letting me setup a delegation for "cnn.com" zone.

Code:
Mint12-32> more com.zone
$TTL 1D
@	IN SOA	@	admin.a.gtld-servers.net. (
                                             22 ; serial
					1D	; refresh
					1H	; retry
					1W	; expire
					3H )	; minimum
;
; My name server(s)
;
	NS a.gtld-servers.net.
	NS b.gtld-servers.net.
	NS c.gtld-servers.net.
a.gtld-servers.net.	 A 192.5.6.30
b.gtld-servers.net.	 A 192.33.14.30
c.gtld-servers.net.	 A 192.26.92.30
;
; my children
;
cnn.com.	 NS ns1.cnn.com.
ns1.cnn.com.	 A 157.166.255.19
;
; other addresss records
;
ns1.com.	 A 157.166.255.19
yahoo.com.	 A 1.2.4.1
google.com.	 A 1.2.5.1
a.com.	 A 192.5.6.30


Mint12-32> named-checkzone  com. com.zone
com.a:14: ignoring out-of-zone data (a.gtld-servers.net)
com.a:15: ignoring out-of-zone data (b.gtld-servers.net)
com.a:16: ignoring out-of-zone data (c.gtld-servers.net)
zone com/IN: cnn.com/NS 'ns1.cnn.com' (out of zone) has no addresses records (A or AAAA)
zone com/IN: loaded serial 22
OK
ANY HINTS WELCOME.

Gautam
 
Old 08-17-2013, 12:41 AM   #2
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 96

Rep: Reputation: 10
Probably because your .NET servers (a.gtld-servers.net., etc.) are in your .COM zone. Those 2 zones should be children of the root zone.
 
  


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 server not starting, "unknown option 'zone'" StevenW Linux - Networking 6 09-19-2011 06:27 PM
Problem creating second zone: "Copying <0> files to the zone." AlucardZero Solaris / OpenSolaris 0 07-20-2010 03:12 PM
"Ignoring out-of-zone data" errors with my DNS Zone file zyzzogeton Linux - Networking 2 12-17-2009 08:51 AM
Bind 9 and "file Not Found " Error amjad Linux - Networking 1 11-06-2007 12:41 PM
DNS error : "localhost.zone file not found" rajat Linux - Server 2 04-25-2007 11:26 PM

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

All times are GMT -5. The time now is 09:05 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