首页 > 程序 > pdnsd.conf备忘
作者:ghostry 发布时间:2015-11-20 浏览: 4675
转载注明出处: https://blog.ghostry.cn/program/670.html备忘一下。
global {
perm_cache=1024;
cache_dir="/var/pdnsd";
run_as="nobody";
server_ip = 192.168.1.1;
server_port = 2053;
status_ctl = on;
query_method=udp_tcp;
min_ttl=1d;
max_ttl=1w;
timeout=10;
neg_domain_pol=on;
udpbufsize=1024;
}
server {
label = "opendns";
ip = 208.67.222.222, 208.67.220.220;
reject = 208.69.32.0/24,
208.69.34.0/24,
208.67.219.0/24;
reject_policy = fail;
timeout = 4;
uptest = ping;
ping_timeout = 100;
interval = 15m;
preset = off;
}
server {
label= "wido";
ip = 127.0.0.1;
port = 1053;
uptest = none;
}
server {
label= "googledns";
ip = 8.8.8.8,8.8.4.4;
timeout = 4;
uptest = ping;
ping_timeout = 100;
interval = 15m;
preset = off;
}
server {
label= "dns114";
ip = 114.114.114.114,114.114.115.115;
timeout = 4;
uptest = ping;
ping_timeout = 100;
interval = 15m;
preset = off;
}
source {
owner=localhost;
file="/etc/hosts";
}
rr {
name=localhost;
reverse=on;
a=127.0.0.1;
owner=localhost;
soa=localhost,root.localhost,42,86400,900,86400,86400;
}
上一篇: mysql错误修复记录下一篇: ios上fixed底部输入框被键盘遮挡的简单解决办法