LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-28-2014, 11:40 AM   #1
cabron9
LQ Newbie
 
Registered: Feb 2011
Posts: 20

Rep: Reputation: 0
Newbie needs help with bind


I am trying to set up a DNS server on my home lan. Why; I want to learn how to do it.

The following errors were found in the BIND configuration file /etc/bind/named.conf or referenced zone files ..

zone debian.local/IN: NS 'ns.debian.local' has no address records (A or AAAA)
zone debian.local/IN: not loaded due to errors.
_default/debian.local/IN: bad zone
zone 0.168.192.in-addr.arpa/IN: NS 'ns.debian.local.0.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 0.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/0.168.192.in-addr.arpa/IN: bad zone


Would appreciate any help.

Here is my named.conf


// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";


Let me know what else you need to know. Thanks in advance for your assistance.
 
Old 12-29-2014, 03:18 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
zone debian.local/IN: NS 'ns.debian.local' has no address records (A or AAAA)
zone debian.local/IN: not loaded due to errors.
_default/debian.local/IN: bad zone
zone 0.168.192.in-addr.arpa/IN: NS 'ns.debian.local.0.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 0.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/0.168.192.in-addr.arpa/IN: bad zone
Without the zone files in question, I can only guess that:
1. You don't have an A RR for ns.debian.local in the forward zone file
2. You miss the trailing dot in the NS RR in the reverse zone file

You know that you can use named-checkzone to check your zone files for errors

Regards
 
  


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 newbie Gil Hardwick Linux - Server 2 05-15-2007 09:30 AM
BIND 9.2.0 Upgrade - Newbie Ques sacsjohn Linux - Newbie 4 01-29-2004 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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