LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connection time out;no servers could be reached (https://www.linuxquestions.org/questions/linux-networking-3/connection-time-out%3Bno-servers-could-be-reached-511221/)

sonvu 12-16-2006 08:33 PM

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 !

xjlittle 12-16-2006 09:43 PM

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.


All times are GMT -5. The time now is 03:05 AM.