[LUGOS] lokalni DNS

Boštjan Jerko mlist at japina.eu
Wed May 23 10:52:41 CEST 2007


On 2007.5.23, at 8:57, Jernej Simončič wrote:
> Naredi nov zone z lokalnimi IPji in v named.conf nastavi 2 viewa:
>

Mučim se in mučim, pa nič. Tole sem naredil sedaj, pa ne pomaga:

include "/etc/bind/named.conf.options";

view "local" {
	match-destinations { 193.95.220.189; };
	match-clients {
		192.168.1.0/24;
		127.0.0.1;
	};

	zone "japina.db" {
		type master;
		file "/etc/bind/db.japina";
	};

	zone "1.168.192.in-addr.arpa" {
		type master;
		file "/etc/bind/db.1.168.192.in-addr.arpa";
	};
};

view "global" {
	match-clients{"any"; };

	zone "." {
        	 type hint;
        	 file "/etc/bind/db.root";	
	};
	
	zone "localhost" {
		type master;
		file "/etc/bind/db.local";
	};

	zone "127.in-addr.arpa" {
		type master;
		file "/etc/bind/db.127";
	};
	
	zone "0.in-addr.arpa" {
         	type master;
         	file "/etc/bind/db.0";
	};

	zone "255.in-addr.arpa" {
         	type master;
         	file "/etc/bind/db.255";	
	};

};



LP,

Boštjan


---
mag./M.Sc. Boštjan Jerko
Boštjan Jerko-Japina s.p., Raziskovanje in razvoj novih tehnologij
Boštjan Jerko-Japina s.p., Research and development of new technologies

*******************
Elektronika/Electronics,
Software/Programi:   http://www.japina.eu
slo. blog:	 http://www.japina.eu/blog-slo
Eng. blog:	http://www.japina.eu/blog-eng
trgovina/store: http://www.japina.eu/store



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liste2.lugos.si/pipermail/lugos-list/attachments/20070523/eb8614ed/attachment.htm


More information about the lugos-list mailing list