no servers could be reached

uifiddle at gmail.com uifiddle at gmail.com
Fri Jul 29 06:17:13 UTC 2011


#hostname
CentOS3

Is it matter?

2011/7/29 uifiddle at gmail.com <uifiddle at gmail.com>:
> still get "no servers could be reached", need help.
>
> #dig @127.0.0.1 nsc1.domainx
>
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @127.0.0.1 nsc1.domainx.
> ; (1 server found)
> ;; global options:  printcmd
> ;; connection timed out; no servers could be reached
>
> cat /etc/resolv.conf
> ; generated by /sbin/dhclient-script
> search domainx localdomain
> nameserver 127.0.0.1
>
> cat var/named/named.conf
> //
> // named.caching-nameserver.conf
> //
> options {
>        listen-on port 53 { 192.168.18.128; 127.0.0.1; };
>        listen-on-v6 port 53 { ::1; };
>        directory       "/var/named";
>        dump-file       "/var/named/data/cache_dump.db";
>        statistics-file "/var/named/data/named_stats.txt";
>        memstatistics-file "/var/named/data/named_mem_stats.txt";
> };
> logging {
>        channel default_debug {
>                file "data/named.run";
>                severity dynamic;
>        };
> };
> view localhost_resolver {
>        match-clients      { localhost; };
>        match-destinations { localhost; };
>        recursion yes;
>        include "/etc/named.rfc1912.zones";
> };
> view viewx {
>        include "domainx.zones";
> };
>
>
> #cat var/domainx.zones
> zone "domainx" IN {
>        type master;
>        file "domainx.zone";
>        allow-update { none; };
> };
>
> #cat var/domainx.zone
> $TTL    86400
> $origin domainx.
> @       IN      SOA     ns1      root.localhost.  (
>                                      1997022704 ; Serial
>                                      28800      ; Refresh
>                                      14400      ; Retry
>                                      3600000    ; Expire
>                                      86400 )    ; Minimum
>
>        IN      NS      ns1
> ns1.domainx.    IN      A       192.168.18.128
> ns2.domainx.    IN      A       127.0.0.1
> nsc1            IN      CNAME   ns1
> nsc2            IN      CNAME   ns2
>


More information about the bind-users mailing list