LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-06-2015, 12:32 AM   #1
etern8ty
LQ Newbie
 
Registered: Mar 2004
Location: Victoria,BC
Distribution: RedHat(fedora core 5)
Posts: 15

Rep: Reputation: 0
Issues configuring named on Centos 6.5


Im having issues getting a second domain to work and subsequent transfer on my newly configured dns servers

I have 2 domains configured eten8ty.local and etern8ty.com. the etern8ty.local is working and transferring fine the .com is throwing erros when i run named-checkzone www.etern8ty.com /var/named/forward.etern8ty.com on it like /var/named/forward.etern8ty.com:13: ignoring out-of-zone data (etern8ty.com)

my named.conf file is
//
// named.conf
//
// Provided by Red Hat bind 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.
//

options {
listen-on port 53 { any; };
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";
allow-query { localhost; 192.168.1.0/24; };
allow-transfer { localhost; 192.168.1.21; };
recursion no;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";

forward first;
forwarders {
208.67.222.222;
208.67.220.220;
};
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

zone "etern8ty.local" IN {
type master;
file "forward.etern8ty.local";
allow-update { none; };
};

zone "etern8ty.com" IN {
type master;
file "forward.etern8ty.com";
allow-update { none; };
};

zone "1.168.192.in-addr.arpa" IN {
type master;
file "reverse.etern8ty.local";
allow-update { none; };
};


My /var/named/forward.etern8ty.com appears as


;BIND info for eternt8y.com

$TTL 86400
@ IN SOA etern8ty.com. root.etern8ty.com. (
20150301 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

etern8ty.com. IN NS dns.etern8ty.local.
etern8ty.com. IN NS dns2.etern8ty.local.

etern8ty.com. IN A 192.168.1.14

dns IN A 192.168.1.16
dns2 IN A 192.168.1.21
owncloud IN A 192.168.1.22
www IN CNAME etern8ty.com.

Despite serveral pages i cant seam to lock down why
 
Old 03-06-2015, 02:08 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,175
Blog Entries: 1

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
Quote:
I have 2 domains configured eten8ty.local and etern8ty.com. the etern8ty.local is working and transferring fine the .com is throwing erros when i run named-checkzone www.etern8ty.com /var/named/forward.etern8ty.com on it like /var/named/forward.etern8ty.com:13: ignoring out-of-zone data (etern8ty.com)
The zone is etern8ty.com, so you should use:
Code:
named-checkzone etern8ty.com /var/named/forward.etern8ty.com
Regards
 
Old 03-06-2015, 09:04 PM   #3
etern8ty
LQ Newbie
 
Registered: Mar 2004
Location: Victoria,BC
Distribution: RedHat(fedora core 5)
Posts: 15

Original Poster
Rep: Reputation: 0
that seams to allow the SN to load but for some reason if i try to ping out its not using my internal dns to answer for the domain still
 
Old 03-06-2015, 11:01 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Hi before you get to far along
CentOS 6.5 is unsupported

can you check the output of this command
Code:
su -
cat /etc/redhat-release
it should be the ONLY supported version " 6.6 "
if not there have been NO security updates for 6.5 for almost a year

and upgrade ASAP
Code:
su -
yum --releasever=6.6 upgrade
 
Old 03-06-2015, 11:04 PM   #5
etern8ty
LQ Newbie
 
Registered: Mar 2004
Location: Victoria,BC
Distribution: RedHat(fedora core 5)
Posts: 15

Original Poster
Rep: Reputation: 0
after much yum updates although it was 6.5 to start a while ago im sure at some point its now CentOS release 6.6 (Final)
 
Old 03-07-2015, 02:12 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,175
Blog Entries: 1

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
Quote:
Originally Posted by etern8ty View Post
that seams to allow the SN to load but for some reason if i try to ping out its not using my internal dns to answer for the domain still
Make sure your dns is the first nameserver listed in /etc/resolv.conf
 
  


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
named zone file came issues on CentOS 6.5 Jeff A Linux - Server 7 02-10-2014 09:33 AM
Configuring DNS on el5 - error starting named - Locating //etc/named.conf failed rajslinux Linux - Newbie 8 04-13-2012 06:17 AM
adding a zone in named.conf in centos 5.2 /etc/named.conf coolhunkank Linux - Newbie 2 05-14-2009 08:45 AM
chown -R named:named /var/named crash the system? joangopan Fedora 2 09-09-2007 02:46 AM
centos 4.4 and bind named performance issues kbensch Linux - Networking 3 01-09-2007 10:31 PM

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

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