用ubuntu架設DNS
其他區段查詢此台DNS,出現錯誤訊息query refused在log檔也出現了很多類似的錯誤
query (cache) 'au.download.windowsupdate.com/A/IN' denied
query (cache) 'urs.microsoft.com/A/IN' denied
query (cache) 'pop.gmail.com/A/IN' denied
query (cache) 'pool.ntp.org/A/IN' denied
後來在/etc/bind/named.conf.options
加入allow-query { "any"; };
就可以了
參考設定
options {
directory "/var/cache/bind";
query-source address * port 53;
forwarders {
168.95.1.1;
};
allow-query { any; };
allow-transfer { none; };
auth-nxdomain no;
listen-on-v6 { any; };
};
參考網址
0 意見:
張貼留言