LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2012, 04:27 AM   #1
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Rep: Reputation: Disabled
does not answer queries over tcp and udp in name sever(centos)


Well online dns test shows that the following :

Code:
Name server ns0.x.com (xxx.xxx.xxx.x) does not answer queries over UDP.

The name server failed to answer queries sent over UDP. This is probably due to the name server not correctly set up or due to misconfigured filtering in a firewall.

Name server ns0.x.com (xxx.xxx.xxx.x) does not answer queries over TCP.

The name server failed to answer queries sent over TCP. This is probably due to the name server not correctly set up or due to misconfgured filtering in a firewall. It is a rather common misconception that DNS does not need TCP unless they provide zone transfers - perhaps the name server administrator is not aware that TCP usually is a requirement.
So can anyone tell me what does that mean and what should be done?Actually ns0 is used for zone transfer only,doe real dns purpose other dns server(ns1 an dns2) is used and that doesnt show sch error.

However ns3 show that error but with tcp...

Therefore can anyone help me on this or give ay idea or suggestion?
 
Old 04-04-2012, 05:37 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
well,

since you don't specify which OS and BIND you are running on your server (if I recall from my memory you previously asked for CentOS help @ LQ)
you should first configure your server's BIND (DNS) settings for that domain you are authoritative (you control it's IP addresses).

The first few guides in google search provide these:
- DNS server install/configure BIND
- BIND server config CentOS 6
- how-to configure chroot BIND CentOS 6

then you will need to set firewall to allow port 53 UDP to let it through.

good luck
 
Old 04-04-2012, 05:42 AM   #3
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by SarahGurung View Post
Well online dns test shows that the following :

.....
Actually ns0 is used for zone transfer only,doe real dns purpose other dns server(ns1 an dns2) is used ...


....
I'm sorry I didn't quite well understand your question.

- what online dns test ?
can you provide a link ?

- ns0 is used for zone transfer ...?
Transferring zones from where to ?

If it's somehow only a rsync set on this server to transfer (only my guess what it is), then it's not configured for DNS and that means that the server which handles your domain should have take care of that


good luck
 
Old 04-04-2012, 05:48 AM   #4
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
No,the bind has been correctly configured and it's a live server..it has centos 5.8 running..We are ISP.

well i checked for our domain at http://dnscheck.pingdom.com and there it showe the errors as said above. And what i meant previously was ns0 is not used for resolving names,dat is done by slave servers.


So is it ok even if udp and tcp is blocke/filtered as ns0 is not used for resolving names.
And i wanted to know what that error meant.
 
Old 04-04-2012, 06:18 AM   #5
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by SarahGurung View Post
No,the bind has been correctly configured and it's a live server..it has centos 5.8 running..We are ISP.

well i checked for our domain at http://dnscheck.pingdom.com and there it showe the errors as said above. And what i meant previously was ns0 is not used for resolving names,dat is done by slave servers.


So is it ok even if udp and tcp is blocke/filtered as ns0 is not used for resolving names.
And i wanted to know what that error meant.
well, that explains it all.

If it's not name resolver then it shouldn't response to DNS queries (resolving).

The error is probably because of the settings for your domain at the master DNS server,
which may have configured
ns0.domainname.com
as a primary DNS for the domain.

As I can assume you have ns1 as primary domain server so it should be changed on TOP LEVEL domain registrar to point to ns1... not ns0.


And domain querying is actually running through UDP port 53 and not TCP (rarely I've seen it, I can't remember which it was).

good luck

Last edited by lithos; 04-04-2012 at 06:20 AM.
 
Old 04-04-2012, 06:29 AM   #6
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
No..nso is the master...

Wheneva we create zones,we create it here first which then is copied to slaves as well as slave zone(automatically).
 
Old 04-04-2012, 07:52 AM   #7
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by SarahGurung View Post
.....

Wheneva ....
Please use ENGLISH language here at LQ forum....

whatewa, I can presume it is a master DNS server so you should then configure it to respond to DNS queries,
or if you do not want to have it respond to queries (for whichever reason that you have), then leave it to slaves, as you have it now (but you could have trouble resolving your domain - eg. example.com).
You can check it here if your domain is configured properly.
 
Old 04-04-2012, 08:02 AM   #8
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
oh ok thanks..that means it's ok even if the master doesn't reply to the queries if slave is doing that..

And ya i checked it in the link u provided and everything looked good except the dns part where it said that the ns0 isn't replying to the queries..so i suppose that's good hopefully..

And ya i was using English language only,sorry about those shortcuts as I'm used to it..haha...will try to avoid it from next time..
 
  


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
[SOLVED] i cant open UDP + TCP with our passthru cURL script, but TCP works just not both?? Good Question Linux - Networking 1 10-21-2011 12:57 PM
UDP vs TCP and tcp offload issues JonasKunze Linux - Networking 3 07-28-2011 11:02 PM
DISCUSSION: Configure BIND DNS to Answer Active Directory Queries ghight LinuxAnswers Discussion 1 07-04-2007 10:46 AM
Configure BIND DNS to Answer Active Directory Queries Astro Linux - Networking 1 02-01-2006 04:50 PM
how to do testing TCP/IP client/sever appl Madhukar Linux - Networking 0 05-26-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration