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
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to