startLinux


pDNS - cache DNS

global {
	perm_cache=2048;
	cache_dir="/var/cache/pdnsd";
	max_ttl=604800;
	run_as="nobody";
	paranoid=off;
	server_port=53;
	server_ip="192.168.1.1";
}

server {
	label="Contactel NS1";
	ip="212.65.193.157";
#Interval testovani servru
	interval=900;
#Timeout dotazu
	timeout=600;	
#	uptest=if PING nelze pouzit, Contactel PING zahazuje
	uptest=none; 
	ping_timeout=600; 
	purge_cache=off;
}



server {
	label="Contactel NS2";
	ip="212.65.242.210";
	interval=900;
	timeout=600;	
	uptest=none;
	ping_timeout=600; 
	purge_cache=off;
}


server {
	label="gw.datron.cz";
	ip="194.212.10.129";
	interval=900;
	timeout=600;	
	uptest=none;
	ping_timeout=600; 
	purge_cache=off;
}



source {
	ttl=86400;
	owner="localhost.";
#	serve_aliases=on;
	file="/etc/hosts";
}

/*
neg {
	ttl=86400;
	name="foo.bar.";
	types=domain;
}

neg {
	ttl=86400;
	name="foo.baz.";
	types=A,AAAA, MX;
}
*/
/*
rr {
	ttl=86400;
	owner="localhost.";
	name="localhost.";
	a="127.0.0.1";
	soa="localhost.","root.localhost.",42,86400,900,86400,86400;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="1.0.0.127.in-addr.arpa.";
	ptr="localhost.";
	soa="localhost.","root.localhost.",42,86400,900,86400,86400;
} */
linux/internet/pdns.txt · Poslední úprava: 13.03.2020 18:43 (upraveno mimo DokuWiki)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0