# $Id: pdnsd.conf,v 1.2 2003/01/27 00:23:49 at Exp $

global {
	chroot_dir="/var/empty";
	cache_dir="/var/cache/pdnsd";
	run_as="pdnsd";
	strict_setuid=on;
	paranoid=off;
	status_ctl=on;
	perm_cache=2048;
# local usage only
#	server_ip="127.0.0.1";
	server_ip="0.0.0.0";
	server_port=53;
	max_ttl=3600000;
	min_ttl=600;
}

server {
# A.ROOT-SERVERS.NET by default
#	ip="198.41.0.4";
# but use ISP DNS1 whenever possible
	ip="212.44.131.6";
	changeable_ip=on;
	label="pppdns1";
	timeout=30;
	purge_cache=off;
}

server {
# B.ROOT-SERVERS.NET by default
#	ip="128.9.0.107";
# but use ISP DNS2 whenever possible
	ip="212.44.130.6";
	changeable_ip=on;
	label="pppdns2";
	timeout=30;
	purge_cache=off;
}

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

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;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="localdomain.";
	a="127.0.0.0";
	soa="localhost.","root.localhost.",2003060601,86400,900,86400,86400;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="mydomain.";
	a="192.168.0.0";
#	name="shluz.mydomain.";
#	a="192.168.0.1";
	soa="shluz.", "root.shluz.",2003060603,86400,900,86400,86400;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="0.0.168.192.in-addr.arpa.";
	ptr="mydomain.";
	soa="shluz.", "root.shluz.",2003060602,86400,900,86400,86400;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="shluz.mydomain.";
	a="192.168.0.1";
	soa="shluz.", "root.shluz.",2003060604,86400,900,86400,86400;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="1.0.168.192.in-addr.arpa.";
	ptr="shluz.mydomain.";
	soa="shluz.", "root.shluz.",2003060604,86400,900,86400,86400;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="win.mydomain.";
	a="192.168.0.10";
	soa="shluz.", "root.shluz.",2003060605,86400,900,86400,86400;
}

rr {
	ttl=86400;
	owner="localhost.";
	name="10.0.168.192.in-addr.arpa.";
	ptr="win.mydomain.";
	soa="shluz.", "root.shluz.",2003060605,86400,900,86400,86400;
}
										
