postavitev dns server

himba at volja.net himba at volja.net
Thu Jan 30 13:47:15 CET 2003


ahoj

lotil sem se postavitve dns streznika na lokalni mrezi za ruterjem/firevolom. dns-howto je bil nadvse v pomoc in zadeva "dela" do te mere da ukaz 'dig streznik.xxx' vrne potrebne podatke. zanima me ce je to dovolj da se streznik uporabi kot primarni dns streznik za domeno xyz.si ?

oziroma

katere 'teste' mora dati dns sterznik cez da se alhko uporabi kot dns streznik domene?

/etc/named.conf vsebuje naslednje cone (xyz.si - fake domena):

options {
	directory "/var/named";
	/*
	 * If there is a firewall between you and nameservers you want
	 * to talk to, you might need to uncomment the query-source
	 * directive below.  Previous versions of BIND always asked
	 * questions using port 53, but BIND 8.1 uses an unprivileged
	 * port by default.
	 */
	query-source address * port 53;
};

zone "xyz.si" {
	type master;
	notify no;
	file "named.xyz.si";
};

zone "." IN {
	type hint;
	file "named.ca";
};

zone "0.168.192.in-addr.arpa" IN {
	type master;
	file "named.local.network";
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.local";
};


lp, himba



More information about the lugos-list mailing list