LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-09-2010, 09:12 AM   #1
rogerdv
Member
 
Registered: Jul 2005
Location: Cuba
Distribution: redhat
Posts: 52

Rep: Reputation: 15
dns failures


Since yesterday, I have found a weird problem with my DNS. suddnely, I started getting lots of errors like this:

Code:
Jun  9 09:59:19 prospero named[2924]: network unreachable resolving 'ns-944.amazon.com/A/IN': 2001:503:a83e::2:30#53
Jun  9 09:59:19 prospero named[2924]: network unreachable resolving 'ns-944.amazon.com/AAAA/IN': 2001:503:a83e::2:30#53
Jun  9 09:59:20 prospero named[2924]: network unreachable resolving '37.114.195.67.in-addr.arpa/PTR/IN': 2001:5a0:10::2#53
Jun  9 09:59:20 prospero named[2924]: network unreachable resolving '37.114.195.67.in-addr.arpa/PTR/IN': 2001:500:14:6050:ad::1#53
Jun  9 09:59:26 prospero named[2924]: network unreachable resolving 'dns11.cotdns.net/A/IN': 2001:503:231d::2:30#53
Jun  9 09:59:26 prospero named[2924]: network unreachable resolving 'dns11.cotdns.net/AAAA/IN': 2001:503:231d::2:30#53
Jun  9 09:59:26 prospero named[2924]: network unreachable resolving 'dns12.cotdns.net/A/IN': 2001:503:231d::2:30#53
This server is both authoritative for my zone and serves as cache for my internal network name resolution. The problem is just with external doains, everybody seems to be resolving my zone names correctly.
This is my named.conf:

Code:
options {
	directory "/var/named/data";
#	fetch-glue no;
	allow-transfer{
		200.55.150.178;
		127.0.0/8;
		192.168.1.4;
	};

	transfer-format many-answers;
	#recursion no;
	pid-file "/var/run/named/named.pid";
};
zone "." {
	type hint;
	file "db.cache";
};
zone "ehtsc.co.cu"{
	type master;
	file "db.eht";
};

zone "granhotelstgo.cu"{
	type master;
	file "db.granhotelstgocu";
};
zone "0.0.127.in-addr.arpa"{
	type master;
	file "db.127.0.0";
};
### zone "176/29.150.55.200.in-addr.arpa"{
zone "176/29.150.55.200.in-addr.arpa"{

	type master;
	allow-query {
	 any;
	};
	allow-update {
	 192.168.1/24;
	};
	file "db.200.55.150";
};
 
Old 06-09-2010, 11:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Why are you using IPv6 addresses?
Add "OPTIONS="-4"" to /etc/sysconfig/named so named will use only IPv4 addresses and restart the service

Regards
 
Old 06-09-2010, 12:31 PM   #3
rogerdv
Member
 
Registered: Jul 2005
Location: Cuba
Distribution: redhat
Posts: 52

Original Poster
Rep: Reputation: 15
Well, i dont know why that IPv6 got in the way, we are far from using it yet.
 
Old 06-09-2010, 12:45 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Some of the root servers use both IPv4 and IPv6 addresses. So bind tries first the IPv6 if you don't use the "-4" option.
You can use:
Code:
NETWORKING_IPV6=no
in /etc/sysconfig/network to completely disable IPv6
 
  


Reply

Tags
dns



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
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
ping failures resolve external public dns/ip address dkeller626 Linux - Networking 2 06-29-2006 09:20 PM
slapt-get failures BroX Slackware 5 08-19-2004 02:19 AM
Logon Failures! skip1 Linux - Software 15 02-23-2003 10:02 AM
Module Failures JerryHobby Linux - General 1 10-04-2002 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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