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 !