LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-16-2006, 08:33 PM   #1
sonvu
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Connection time out;no servers could be reached


Hi !
I have a problem of DNS :
;; Connection time out;no servers could be reached

I set IP , Default gateway on interface eth0 :
IP Address : 192.168.184.1
Subnet mask : 255.255.255.0
Default gateway : 192.168.184.1

I set hostname ,Primary DNS :
hostname : dnsserver.t3h.com
Primary DNS : 192.168.184.1

Both ping 192.168.184.1 and telnet 192.168.184.1 are success.

I configure your DNS (localhost) :
/etc/named.conf :
--------------------------------------
zone "184.168.192.in-addr.arpa" IN {
type master;
file "192-168-184.zone";
allow-query{any;};
};
zone "t3h.com" IN {
type master;
file "t3h.zone";
allow-query{any;};
}
--------------------------------------

/var/named/chroot/var/named/192-168-184.zone
--------------------------------------
@ IN SOA dnsserver.t3h.com. root.t3h.com. (
2006120400;
10800;
1800;
3600000;
86400;
)
IN NS dnsserver.t3h.com.
IN MX 0 mailserver.t3h.com.
2 IN PTR dnsserver.t3h.com.
1 IN PTR server.t3h.com.
--------------------------------------


/var/named/chroot/var/named/t3h.zone
--------------------------------------
@ IN SOA dnsserver.t3h.com. root.t3h.com. (
2006120400;
10800;
1800;
36000;
86400;
)
IN NS dnsserver.t3h.com.
IN MX 0 mailserver.t3h.com.
dnsserver IN A 192.168.184.1
mailserver IN A 192.168.184.1
server IN A 192.168.184.1
www IN CName server.t3h.com.
--------------------------------------


/etc/resolv.conf
--------------------------------------
nameserver 192.168.184.1
domain t3h.com
search t3h.com
--------------------------------------

Here is my problem : I open Terminal and query DNS
--------------------------------------
[root@dnsserver root]# nslookup
>set type=any
>t3h.com
;;connection timed out; no server could be reached
>www.t3h.com
;;connection timed out; no server could be reached
--------------------------------------

Please help me .
Thanks !
 
Old 12-16-2006, 09:43 PM   #2
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
try restarting the server and checking /var/log/messages and /var/log/daemon for any hints of what may be happening with the server. Post them back here.
 
  


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
I Can't Access Public Time Servers Legolas327 Linux - Newbie 3 10-16-2006 08:36 PM
DNS: connection timed out; no servers could be reached ubu_roi Linux - Networking 1 04-13-2005 11:45 AM
Time out in Connection established state if no Data flows on that connection asurya Linux - Networking 2 04-10-2005 03:54 PM
nslookup gives "connection timed out; no server could be reached" hello321_1999 Linux - Networking 3 11-26-2004 11:23 AM
connection timed out;no servers could be reached nitin34847 Linux - Networking 0 05-23-2004 12:47 AM

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

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