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 09-12-2015, 12:49 PM   #1
rasx0
LQ Newbie
 
Registered: Sep 2015
Posts: 1

Rep: Reputation: Disabled
wheezy6, bind9 not responding for queires


Hello!
#Sorry for typo in topic :/

I literary have no idea of what to check next. I never had a problem with bind9 before but this situation is driving me mad..
So here's the deal:
  • Registered domain.
  • Domain delegated to ns of kimsufi (host of server)
  • For testing purposes iptables been disabled
  • Bind9 configs:
Code:
cat /etc/bind/named.conf.local 

zone "xxx.xxx.xx" {
	type master;
	file "/etc/bind/db.xxx.xxx.xx";
};
Code:
cat /etc/bind/db.xxx.xxx.xx 
;
; BIND data file for local loopback interface
;
$TTL	604800
@	IN	SOA	xxx.xxx.xx. xxxx.localhost. (
			      6		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
xxx.xxx.xx.	IN	NS	37.187.zzz.zzz
xxx.xxx.xx.	IN	A	37.187.zzz.zzz
www.xxx.xxx.xx.	IN	CNAME	xxx.xxx.xx.
And here's the tcpdump from server side
Code:
DATE IP 31.11.202.254.9238 > 37.187.zzz.zzz.53: 14432 [1au] A? xxx.xxx.xx. (47)
DATE IP 37.8.214.2.2903 > 37.187.zzz.zzz.53: 60682 [1au] A? xxx.xxx.xx. (47)
And so on till request dies.
 
Old 09-13-2015, 10:00 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,

Quote:
xxx.xxx.xx. IN NS 37.187.zzz.zzz
The above is wrong. The NS RR should point to a hostname not an IP address.
So use something like:
Code:
...
xx.xxx.xx.	IN	NS	ns.xx.xxx.xx.	
ns.xx.xxx.xx.	IN     A      37.187.zzz.zzz
...
 
Old 09-20-2015, 04:02 AM   #3
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
I have no idea what that TCP dump output is supposed to mean.

How about you post the output from "dig +trace" ?

That will tell us what is going on as far as DNS requests go.

Also you posted config files but have you confirmed that bind is loading without errors?
Does "dig @serverip" give valid output for the domain?
 
  


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
bind9 lamou23 Linux - Server 1 08-08-2010 10:09 AM
Best OS for a bind9 ? permalac Linux - Server 14 01-22-2009 08:08 AM
Bind9.3 MX Help Fredstar Linux - Networking 1 04-15-2007 10:57 PM
Bind9 help!! Fredstar Linux - Newbie 10 08-30-2005 09:47 PM
Bind9 tandre Linux - Software 1 04-08-2003 09:29 AM

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

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