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 12-16-2009, 03:46 PM   #1
zyzzogeton
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
Question "Ignoring out-of-zone data" errors with my DNS Zone file


I am setting up a DNS for a small subdomain and I am unable to figure out why named is ignoring my zone file.

Here is my zone file:
---begin /var/named/se.digitalreefinc.com.zone------
[root@se20 named]# cat se.digitalreefinc.com.zone
$TTL 3D
; Information about "forward" domain se.digitalreefinc.com
$ORIGIN se.digitalreefinc.com.
@ IN SOA ns1.se.digitalreefinc.com. hostmaster.se.digitalreefinc.com. (
200912151638 ; serial
86400 ; refresh
7200 ; retry
1209600 ; expiry
1D ) ; minimum
@ IN NS ns1.se.digitalreefinc.com.
se20 A 172.30.4.20
ns1.se.digitalreefinc.com. A 172.30.4.20
localhost A 127.0.0.1
se21 A 172.30.4.21
se22 A 172.30.4.22
se23 A 172.30.4.23
se24 A 172.30.4.24

----------------------------------------------
When I do a named-checkzone, I get the following errors

----begin error messages from named-checkzone-------
[root@se20 named]# named-checkzone localhost se.digitalreefinc.com
se.digitalreefinc.com:4: ignoring out-of-zone data (se.digitalreefinc.com)
se.digitalreefinc.com:10: ignoring out-of-zone data (se.digitalreefinc.com)
se.digitalreefinc.com:11: ignoring out-of-zone data (se20.se.digitalreefinc.com)
se.digitalreefinc.com:12: ignoring out-of-zone data (ns1.se.digitalreefinc.com)
se.digitalreefinc.com:13: ignoring out-of-zone data (localhost.se.digitalreefinc.com)
se.digitalreefinc.com:14: ignoring out-of-zone data (se21.se.digitalreefinc.com)
se.digitalreefinc.com:15: ignoring out-of-zone data (se22.se.digitalreefinc.com)
se.digitalreefinc.com:16: ignoring out-of-zone data (se23.se.digitalreefinc.com)
se.digitalreefinc.com:17: ignoring out-of-zone data (se24.se.digitalreefinc.com)
zone localhost/IN: has 0 SOA records
zone localhost/IN: has no NS records
--------------------------------------------------
Here is my named.conf from the server:
----------begin named.conf-------------------------
[root@se20 named]# cat named.conf
//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
version "Bind";
#allow-query { localhost; };
allow-recursion {127.0.0.1; 172.30.0.0/16; };
forward first;
forwarders { 172.30.0.10; 172.30.0.11; }; #IP of upstream ISP nameserver(s)
#forward only; #rely completely on our upstream nameservers
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "se.digitalreefinc.com" IN {
type master;
file "se.digitalreefinc.com.zone";
allow-update {none;};
};
zone "4.30.172.in-addr.arpa" IN {
type master;
file "reverse.se.digitalreefinc.com.zone";
allow-update {none;};
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update {none;};
};
include "/etc/named.rfc1912.zones";

--------------------------------------------------

finally, doing a dig gives me an NXDOMAIN error (undoubtedly because the zone file never loaded, as evidenced by my /var/log/messages)

I have been banging my head against this wall for about 2 days and I am sure it is something stupid which I have missed. Thank you in advance for your greatly appreciated assistance.
 
Old 12-16-2009, 04:37 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,883

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
Did you see the answer at your same post here?
 
1 members found this post helpful.
Old 12-17-2009, 08:51 AM   #3
zyzzogeton
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Ug, I thought it didn't post as I could find it even via search... so I double posted. Thank you Bathory.
 
  


Reply

Tags
dns, nxdomain, zone files


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
[SOLVED] ignoring out-of-zone data in my DNS file zyzzogeton Linux - Networking 6 12-18-2009 12:29 PM
Creating a DNS "dead Zone" Quest101 Linux - Networking 2 04-27-2009 04:13 PM
Dns Problem Loading The Zone File Error(zone File Not Found) ramineni Linux - Newbie 1 09-14-2008 08:36 AM
DNS error : "localhost.zone file not found" rajat Linux - Server 2 04-25-2007 11:26 PM


All times are GMT -5. The time now is 02:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration