發新話題
打印

建DNS 問題 (CentOS)

建DNS 問題 (CentOS)

初學dns, 試建DNS..好渣...

client 機嘗試用我起的dns, 現在有d site去到, 有d唔得...(mail.yahoo.com)
我在linux 本機上又ping 到去到...請問問題何在? thanks

My named.conf is this:

options {
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        pid-file        "/var/run/named/named.pid";
        forwarders     { 220.231.183.8; 202.14.67.4; };
        allow-query    { any; };
        allow-transfer { none; };
};

zone "." {
        type hint;
        file "/var/named/named.root";
        };

zone "skyht.net" {
        type master;
        file "/var/named/skyht.net.hosts";
        };

TOP

google "linux set up caching dns server"  

And here is another guide that's not usually listed by Google:
http://www.linux-sxs.org/internet_serving/dns.html                                                                                                                                                                                                                       

TOP

你睇下 /var/named/named.root
裡面有冇root hins server record先                                                                                                                                                                                                                       

TOP

發新話題