//    uni-sofia.bg primary name server boot file

// Localhost

//include "/etc/localhost.conf";

// Operators

include "/etc/tsig-keys-operators.conf";


// Servers

include "/etc/servers.conf";

// ACLs

include "/etc/acls/dnsbl.uni-sofia.bg.acl";

include "/etc/rndc.key";

controls {
 	inet 127.0.0.1 port 953
 		allow { 127.0.0.1; } keys { "rndc-key"; };
};

options
{
	// Put files that named is allowed to write in the data/ directory:
	directory 		"/var/named";		// "Working" directory
	dump-file 		"data/cache_dump.db";
        statistics-file 	"data/named_stats.txt";
        memstatistics-file 	"data/named_mem_stats.txt";


	listen-on port 53	{ 62.44.96.31; 62.44.96.202; 192.175.48.1; 192.175.48.6; 192.175.48.42; };
	listen-on-v6 port 53	{ any ; };

	allow-query		{ any; };
	allow-query-cache	{ any; };
	recursion no;

	/* Enable serving of DNSSEC related data - enable on both authoritative
 	   and recursive servers DNSSEC aware servers */
	dnssec-enable no;

	/* Enable DNSSEC validation on recursive servers */
	dnssec-validation no;

	/* Enable DLV by default, use built-in ISC DLV key. */
	dnssec-lookaside auto;
};

include "/etc/logging.conf";

view "as112_ipv4"
{
	match-clients		{ any ; };
        match-destinations	{ 192.175.48.1; 192.175.48.6; 192.175.48.42; };

	zone "hostname.as112.net" {
        type master;
        file "hostname.as112.net";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
	};

	zone "10.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "16.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "17.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "18.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "19.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "20.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "21.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "22.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "23.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "24.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "25.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "26.172.in-addr.arpa" {
      	type master;
     	file "as112";
     	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "27.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "28.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "29.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "30.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "31.172.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "254.169.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

	zone "168.192.in-addr.arpa" {
      	type master;
      	file "as112";
      	allow-query { any; };
      	zone-statistics yes;
      	allow-transfer { any; };
	};

};

view "as112_ipv6"
{
        match-clients           { any ; };
        match-destinations      { 2620:4f:8000::1; 2620:4f:8000::6; 2620:4f:8000::42; };

        zone "hostname.as112.net" {
        type master;
        file "hostname.as112.net.ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "f.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "8.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "9.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "a.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "b.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "c.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "d.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "e.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "f.e.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "0.0.c.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "0.0.d.f.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

        zone "0.0.0.0.1.0.0.2.ip6.arpa" {
        type master;
        file "as112_ipv6";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

};

view "masters"
{
	match-clients		{ 62.44.104.10 ; 62.44.106.1; 62.44.105.1; 62.44.111.1 ; 62.44.113.1; 2001:67c:20d1:113::1; 62.44.101.1 ; 62.44.127.150; 62.44.114.1; 62.44.102.3 ; 62.44.107.135 ; 62.44.96.184 ; 62.44.103.133 ; 62.44.117.1 ; 62.44.108.50 ; 62.44.102.6; 62.44.102.18; 62.44.121.1; 62.44.122.1; 62.44.120.7; 192.92.129.1 ; 62.44.125.69; 62.44.125.70; 62.44.109.49; 62.44.109.45; 2001:67c:20d1:2010::1; 127.0.0.1 ; ::1 ; key "stealth-ns1" ; key "stealth-ns2" ; key "stealth-ns1-rec" ; key "stealth-ns2-rec" ; key "stealth-ns1-ivkm" ; key "stealth-ns2-ivkm" ; key "stealth-fp-block1" ; key "stealth-biofac" ; key "dce-su-stealth-20111217" ; key "stealth-clio" ; key "stealth-misho" ; key "stealth-ns-press-20111222" ; key "stealth-ns-feb-20111221" ; key "stealth-culture" ; key "stealth-fsa" ; key "stealth-ns-flaw"; key "dnsbl.uni-sofia.bg"; key "phys-stealth-20111220"; key "stealth-4km-fmi" ; key "stealth-kmk"; key "chem-to-stealth"; key "mbox2stealth"; };
	match-destinations	{ 2001:67c:20d0:1::202; 62.44.96.202; }; //stealth master's ip address
	allow-query		{ any; }; //no one will make queries (only transfers)
        allow-query-cache       { any; };
	recursion no;

	also-notify    { 2001:67c:20d0:1::203; 2001:67c:20d0:1::204; 2001:67c:20d1:160::168; 2001:67c:20d1:160::169; 2001:67c:20d1:1000::219; 2001:67c:20d1:1000::220; 62.44.96.203; 62.44.96.204; 62.44.96.168; 62.44.96.169; 62.44.96.219; 62.44.96.220; }; //all anycast nodes
	allow-transfer { any; };


	zone "uni-sofia.bg" {
	type master;
	file "uni-sofia.bg.signed";
	};

	zone "96.44.62.in-addr.arpa" {
        type master;
        file "96.44.62.in-addr.arpa.signed";
        };

	zone "97.44.62.in-addr.arpa" {
        type master;
        file "97.44.62.in-addr.arpa";
        };

	// 62.33.103.0/24 - shared (LCPE/INORG.CHEM)
	zone "103.44.62.in-addr.arpa" {
        type master;
        file "103.44.62.in-addr.arpa";
        };

	// 62.44.107.0/25 - diuu
	// 62.44.107.128/25 - deo 
	zone "107.44.62.in-addr.arpa" {
        type master;
        file "107.44.62.in-addr.arpa";
        };

	// 62.44.108.0/25 - observ
	// 62.44.108.192/26 - misho
	zone "108.44.62.in-addr.arpa" {
        type master;
        file "108.44.62.in-addr.arpa";
        };

        // Classless delegation. See RFC2317 at http://tools.ietf.org/search/rfc2317
        zone "0.108.44.62.in-addr.arpa" {
        type slave;
        file "slaves/0.108.44.62.in-addr.arpa";
        masters {2001:67c:20d0:30::1101; 62.44.101.1; };
        };

	// Classless delegation. See RFC2317 at http://tools.ietf.org/search/rfc2317
        zone "192.108.44.62.in-addr.arpa" {
        type slave;
        file "slaves/192.108.44.62.in-addr.arpa";
	masters { 2001:67c:20d0:c0::3 ; 62.44.108.193 ; };
        };

	// 62.44.110.0/24 - rec backbone
	zone "110.44.62.in-addr.arpa" {
        type master;
        file "110.44.62.in-addr.arpa";
        };

	// 62.44.112.0/24 - admin
	zone "112.44.62.in-addr.arpa" {
        type master;
        file "112.44.62.in-addr.arpa";
        };

	// 62.44.116.0/24 - slav
	zone "116.44.62.in-addr.arpa" {
        type master;
        file "116.44.62.in-addr.arpa";
        };

	// 62.44.119.0/24 - edu
	zone "119.44.62.in-addr.arpa" {
        type master;
        file "119.44.62.in-addr.arpa";
        };


	// 62.44.120.0/24 - iv backbone
	zone "120.44.62.in-addr.arpa"{
        type master;
        file "120.44.62.in-addr.arpa";
        };

	// 62.44.121.0/24 - feb
	zone "121.44.62.in-addr.arpa"{
        type master;
        file "121.44.62.in-addr.arpa";
//        type slave;
//        file "slaves/121.44.62.in-addr.arpa";
//	masters { 62.44.120.5; };
	//changed: vlk@lcpe.uni-sofia.bg 20090811
        //changed: hdragolov@ucc.uni-sofia.bg 20111219
	//both 62.44.96.202 and ns.feb.uni-sofia.bg were masters for that zone
	};

	// 62.44.124.0/24 - germanicum
	zone "124.44.62.in-addr.arpa"{
        type master;
        file "124.44.62.in-addr.arpa";
        };

	// Start of classless in-addr.arpa delegation
	// Subject of RFC2317
	zone "0.124.44.62.in-addr.arpa"{
        type master;
        file "0.124.44.62.in-addr.arpa";
	};

	zone "128.124.44.62.in-addr.arpa" {
        type slave;
        file "slaves/128.124.44.62.in-addr.arpa";
        masters { 2001:67c:20d1:1120::39 ; 62.44.120.39 ; };
	};

	// 62.44.125.0/24 - fmi
	zone "125.44.62.in-addr.arpa"{
        type slave;
        masters { 2001:67c:20d1:1125::1 ; 62.44.125.3 ; };
        file "slaves/125.44.62.in-addr.arpa";
        };

	// 62.44.126.0 - FREE
	zone "126.44.62.in-addr.arpa"{
        type master;
        file "126.44.62.in-addr.arpa";
        };

	// 62.44.127.0 - FREE
	zone "127.44.62.in-addr.arpa"{
        type master;
        file "127.44.62.in-addr.arpa";
        };

	zone "radio.uni-sofia.bg" {
        type master;
        file "radio.uni-sofia.bg";
        };

	zone "uni-press.uni-sofia.bg" {
        type master;
        file "uni-press.uni-sofia.bg";
        };

	zone "cisco.uni-sofia.bg" {
        type master;
        file "dynamic/cisco.uni-sofia.bg";
        journal "dynamic/cisco.uni-sofia.bg.jnl";
        allow-update { key "stealth-misho"; };
        };

        zone "vmware.uni-sofia.bg" {
        type master;
        file "dynamic/vmware.uni-sofia.bg";
        allow-update { key "stealth-misho"; };
        };

	zone "slav.uni-sofia.bg" {
        type master;
        file "slav.uni-sofia.bg";
        };

	zone "diuu.uni-sofia.bg" {
        type master;
        file "diuu.uni-sofia.bg";
        };

	zone "admin.uni-sofia.bg" {
        type master;
        file "admin.uni-sofia.bg";
        };

	zone "edu.uni-sofia.bg" {
        type master;
        file "edu.uni-sofia.bg";
        };

	//   maildomains
	zone "rector.uni-sofia.bg" {
        type master;
        file "rector.uni-sofia.bg";
        };

	zone "vice-rector.uni-sofia.bg" {
        type master;
        file "vice-rector.uni-sofia.bg";
        };

	zone "freefac.uni-sofia.bg" {
        type master;
        file "freefac.uni-sofia.bg";
        };

	zone "germanicum.uni-sofia.bg" {
        type master;
        file "germanicum.uni-sofia.bg";
        };

        zone "med.uni-sofia.bg" {
        type master;
        file "med.uni-sofia.bg";
        };

	zone "nis.uni-sofia.bg" {
        type master;
        file "nis.uni-sofia.bg";
        };

	zone "student.uni-sofia.bg" {
        type master;
        file "student.uni-sofia.bg";
        };

	zone "dujcev.uni-sofia.bg" {
        type master;
        file "dujcev.uni-sofia.bg";
        };

	zone "celc.uni-sofia.bg" {
        type master;
        file "celc.uni-sofia.bg";
        };

	zone "sbo.uni-sofia.bg" {
        type master;
        file "sbo.uni-sofia.bg";
        };

	zone "cervantes.uni-sofia.bg" {
        type master;
        file "cervantes.uni-sofia.bg";
        };

	//  soemz - zveno na sclg
	zone "soemz.uni-sofia.bg" {
        type master;
        file "soemz.uni-sofia.bg";
        };

	//  ger3, pak s soemz; George Kojuharov 9715520
	zone "ger3.uni-sofia.bg" {
        type master;
        file "ger3.uni-sofia.bg";
        };

	zone "dnsbl.uni-sofia.bg" {
        type master;
        file "dynamic/dnsbl.uni-sofia.bg";
	journal "dynamic/dnsbl.uni-sofia.bg.jnl";
        allow-transfer { "dnsbl.uni-sofia.bg" ; 2001:67c:20d0:1::203; 2001:67c:20d0:1::204; 2001:67c:20d1:160::168; 2001:67c:20d1:160::169; 2001:67c:20d1:1000::219; 2001:67c:20d1:1000::220; 62.44.96.162; 62.44.96.163; 62.44.96.203; 62.44.96.204; 62.44.96.168; 62.44.96.169; 62.44.96.219; 62.44.96.220; };
        allow-update { key "dnsbl.uni-sofia.bg" ; };
	};

	zone "tcpa.uni-sofia.bg" {
        type master;
        file "tcpa.uni-sofia.bg";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

	zone "students.uni-sofia.bg" {
        type master;
        file "students.uni-sofia.bg";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };


	zone "tto.uni-sofia.bg" {
        type master;
        file "tto.uni-sofia.bg";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

	zone "live.uni-sofia.bg" {
        type master;
        file "live.uni-sofia.bg";
        allow-query { any; };
        zone-statistics yes;
        allow-transfer { any; };
        };

	zone "cpo.uni-sofia.bg" {
        type master;
        file "cpo.uni-sofia.bg";
        allow-query { any; }; 
        zone-statistics yes;
        allow-transfer { any; };
        };

	zone "ucc.uni-sofia.bg" {
        type master;
        file "ucc.uni-sofia.bg";
	};

// hubenov - mail Dobrin  11/12/2015 12:01:19 PM

        zone "fppse.uni-sofia.bg" {
        type master;
        file "fppse.uni-sofia.bg";
        };

	zone "tlb.uni-sofia.bg" {
        type master;
        file "tlb.uni-sofia.bg";
	};

        zone "sport.uni-sofia.bg" {
        type master;
        file "sport.uni-sofia.bg";
        };

	zone "109.44.62.in-addr.arpa" {
        type master;
        file "109.44.62.in-addr.arpa";
	};
	
//	zone "64.96.44.62.in-addr.arpa" {
//        type slave;
//        masters { 2001:67c:20d0::80 ; 62.44.96.80 ; };
//        file "slaves/64.96.44.62.in-addr.arpa";
//	};

	zone "98.44.62.in-addr.arpa" {
        type slave;
        file "slaves/98.44.62.in-addr.arpa";
        masters { 2001:67c:20d0:40:62:44:98:1 ;  62.44.98.1; };
        };

	zone "99.44.62.in-addr.arpa" {
        type slave;
        file "slaves/99.44.62.in-addr.arpa";
        masters { 2001:67c:20d0:40:62:44:98:1 ; 62.44.98.1; };
        };

	// 62.44.100.0/23 - fmi
        zone "100.44.62.in-addr.arpa" {
        type slave;
        file "slaves/100.44.62.in-addr.arpa";
        masters {2001:67c:20d0:30::1101; 62.44.101.1; };
        };

	zone "101.44.62.in-addr.arpa" {
        type slave;
        file "slaves/101.44.62.in-addr.arpa";
        masters {2001:67c:20d0:30::1101; 62.44.101.1; };
        };


	// 62.44.102.0/24 - chem
	zone "102.44.62.in-addr.arpa" {
        type slave;
        file "slaves/102.44.62.in-addr.arpa";
//        masters { 62.44.102.18; };
        masters { 2001:67c:20d0:50::7; 62.44.102.7; };

        };
	//jordanbabukov@ucc.uni-sofia.bg
//	zone "102.44.62.in-addr.arpa" {
//	type master;
//	file "slaves/102.44.62.in-addr.arpa";
//	};


	// 62.33.103.0/25 - lcpe
	zone "0.103.44.62.in-addr.arpa" {
        type slave;
        file "slaves/0.103.44.62.in-addr.arpa";
        masters { 2001:67c:20d0:20::23 ; 62.44.103.23; };
        };

	// 62.33.103.128/25 - inorg.chem
	zone "128.103.44.62.in-addr.arpa" {
        type slave;
        file "slaves/128.103.44.62.in-addr.arpa";
        masters { 2001:67c:20d0:50::7; 62.44.102.7; };
        };

	// 62.44.104.0/24 - biofac - change 3.12.2015
	zone "104.44.62.in-addr.arpa" {
        type master;
        file "104.44.62.in-addr.arpa";
        };

	// 62.44.105.0/24 - fnpp
	zone "105.44.62.in-addr.arpa" {
        type slave;
        file "slaves/105.44.62.in-addr.arpa";
        masters { 62.44.105.1; };
        };

	// 62.44.106.0/24 - theo
	zone "106.44.62.in-addr.arpa" {
        type master;
        file "106.44.62.in-addr.arpa";
        };

	// 62.44.111.0/24 - libsu
	zone "111.44.62.in-addr.arpa" {
        type slave;
        file "slaves/111.44.62.in-addr.arpa";
        masters { 62.44.111.1; };
        };

	// 62.44.113.0/24 - phls
	zone "113.44.62.in-addr.arpa" {
        type slave;
        file "slaves/113.44.62.in-addr.arpa";
        masters { 2001:67c:20d1:113::1; 62.44.113.1; };
        };

	// 62.44.114.0/24 - gea
        zone "114.44.62.in-addr.arpa" {
        type slave;
        file "slaves/114.44.62.in-addr.arpa";
	masters { 62.44.114.1; };
	};

        // 62.44.115.0/24 - clio
        zone "115.44.62.in-addr.arpa" {
        type master;
        file "115.44.62.in-addr.arpa";
        };        

	// 62.44.117.0/24 - fcml
	zone "117.44.62.in-addr.arpa" {
        type master;
        file "117.44.62.in-addr.arpa";
        };

	// 62.44.118.0/25 - flaw on backbone
	// 62.44.118.128/25 - flaw lib
	zone "118.44.62.in-addr.arpa" {
        type slave;
        file "slaves/118.44.62.in-addr.arpa";
        masters { 2001:67c:20d1:118::1 ; 62.44.118.1; };
        };

	// 62.44.122.0/24 - sclg
	zone "122.44.62.in-addr.arpa"{
        type master;
        file "122.44.62.in-addr.arpa";
//        type slave;
//        file "slaves/122.44.62.in-addr.arpa";
//        masters { 62.44.120.5; };
        };

	// 62.44.123.0/24 - fp
	zone "123.44.62.in-addr.arpa"{
        type slave;
        file "slaves/123.44.62.in-addr.arpa";
        masters { 2001:67c:20d1:1123::1 ; 62.44.123.1; };
        };

	zone "phys.uni-sofia.bg" {
        type slave;
        file "slaves/phys.uni-sofia.bg";
        masters { 2001:67c:20d0:40:62:44:98:1; 62.44.98.1; };
        };

	zone "fmi.uni-sofia.bg" {
        type slave;
        file "slaves/fmi.uni-sofia.bg";
        masters {2001:67c:20d0:30::1101; 62.44.101.1; };
        };

	zone "grid.uni-sofia.bg" {
        type slave;
        file "slaves/grid.uni-sofia.bg";
        masters { 62.44.127.150; };
        };

	zone "feb.uni-sofia.bg" {
	type master;
	file "feb.uni-sofia.bg";
	//      masters { 62.44.121.1; };
	//changed: nitberg@ucc 20131002
        
        //type slave;
        //file "slaves/feb.uni-sofia.bg";
        //masters { 62.44.120.5; };
	//      changed: georgi@ucc.uni-sofia.bg 20100224
	};

// mail Netov 2014-11-17 - hubenov
  zone "ff.uni-sofia.bg" {
         type master;
         file "ff.uni-sofia.bg";
        };

// mail Netov 2014-01-20
	 zone "ces.uni-sofia.bg" {
         type master;
         file "ces.uni-sofia.bg";
        };

        zone "cfa.uni-sofia.bg" {
         type master;
         file "cfa.uni-sofia.bg";
       	};       
        
        zone "trainings.uni-sofia.bg" {
        type master;
        file "trainings.uni-sofia.bg";
	};

// hubenov Wed Mar 25 13:07:42 EET 2015 mail Todor Antonov <t.antonov@ucc.uni-sofia.bg>
        zone "ucict.uni-sofia.bg" {
         type master;
         file "ucict.uni-sofia.bg";
        };
	zone "lcpe.uni-sofia.bg" {
        type slave;
        file "slaves/lcpe.uni-sofia.bg";
	masters { 2001:67c:20d0:20::23 ; 62.44.103.23; };
        };

	zone "dce.uni-sofia.bg" {
        type slave;
        file "slaves/dce.uni-sofia.bg";
	masters { 2001:67c:20d0:20::23 ; 62.44.103.23; };
        };

	zone "libsu.uni-sofia.bg" {
        type slave;
        file "slaves/libsu.uni-sofia.bg";
        masters { 62.44.111.1; };
        };

	zone "fcml.uni-sofia.bg" {
        type slave;
        file "slaves/fcml.uni-sofia.bg";
        masters { 62.44.117.1; };
        };

	zone "gea.uni-sofia.bg" {
        type slave;
        file "slaves/gea.uni-sofia.bg";
        masters { 62.44.114.1; };
        };

        zone "clio.uni-sofia.bg" {
        type master;
        file "clio.uni-sofia.bg";
        };

	zone "chem.uni-sofia.bg" {
      	type slave;
      	file "slaves/chem.uni-sofia.bg";
      	masters { 2001:67c:20d0:50::7; 62.44.102.7; };

	};
	//hubenov 2014 - 05 03 ; 204-09-16 
//	zone "chem.uni-sofia.bg" {
//	type master;
//	file "chem.uni-sofia.bg";
//	};


        zone "culture.uni-sofia.bg" {
        type slave;
        file "slaves/culture.uni-sofia.bg";
        masters { 2001:67c:20d1:1120::39 ; 62.44.120.39 ; };
        };

	zone "theo.uni-sofia.bg" {
        type master;
        file "theo.uni-sofia.bg";
        };

	// Peltekov
//	zone "nasledstvo.uni-sofia.bg" {
//      type slave;
//      file "slaves/nasledstvo.uni-sofia.bg";
//      masters { 62.44.116.71;  };
//        };

        zone "nasledstvo.uni-sofia.bg" {
       	type master;
        file "nasledstvo.uni-sofia.bg";
       	};

	zone "deo.uni-sofia.bg" {
        type slave;
        file "slaves/deo.uni-sofia.bg";
        masters { 62.44.107.135; };
        };

	zone "eps2009.uni-sofia.bg" {
        type slave;
        file "slaves/eps2009.uni-sofia.bg";
        masters { 62.44.107.135; };
        };

	zone "fnpp.uni-sofia.bg" {
        type slave;
        file "slaves/fnpp.uni-sofia.bg";
        masters { 2001:67c:20d1:2010::1; 62.44.105.1; };
        };
        
        //biofac - change 3.12.2015        
	zone "biofac.uni-sofia.bg" {
        type master;
        file "biofac.uni-sofia.bg";
        };
        
        //sa.biofac - change 3.12.2015
        zone "sa.biofac.uni-sofia.bg" {
        type slave;
        file "slaves/sa.biofac.uni-sofia.bg";
        masters { 62.44.104.10; };
        };

	zone "fp.uni-sofia.bg" {
        type slave;
        file "slaves/fp.uni-sofia.bg";
        masters { 2001:67c:20d1:1123::1; 62.44.123.1; };
        };

	zone "e-center.uni-sofia.bg" {
        type slave;
        file "slaves/e-center.uni-sofia.bg";
        masters {2001:67c:20d1:1123::1;  62.44.123.1; };
        };

	zone "flaw.uni-sofia.bg" {
        type slave;
        file "slaves/flaw.uni-sofia.bg";
        masters { 2001:67c:20d1:118::1 ; 62.44.118.1; };
        };

	zone "law.uni-sofia.bg" {
        type slave;
        file "slaves/law.uni-sofia.bg";
        masters { 2001:67c:20d1:118::1 ; 62.44.118.1; };
        };

	zone "phls.uni-sofia.bg" {
        type slave;
        file "slaves/phls.uni-sofia.bg";
        masters { 2001:67c:20d1:113::1; 62.44.113.1; };
        };

	zone "sclg.uni-sofia.bg" {
        type master;
        file "sclg.uni-sofia.bg";
//        type slave;
//        file "slaves/sclg.uni-sofia.bg";
//        masters { 62.44.120.5; };
        };

	zone "press.uni-sofia.bg" {
        type master;
        file "press.uni-sofia.bg";
        };

	zone "e-phd.uni-sofia.bg" {
        type slave;
        file "slaves/e-phd.uni-sofia.bg";
        masters {2001:67c:20d1:1123::1;  62.44.123.1; };
        };

	zone "zedes.uni-sofia.bg" { 
        type master;
        file "zedes.uni-sofia.bg";

//        type slave;
//        file "slaves/zedes.uni-sofia.bg";
//        masters { 62.44.120.5; };
        };

	zone "bc.uni-sofia.bg" {
        type master;
        file "bc.uni-sofia.bg";
//        type slave;
//        file "slaves/bc.uni-sofia.bg";
//        masters { 62.44.120.5; };
        };

	zone "econ.uni-sofia.bg" {
        type master;
        file "econ.uni-sofia.bg";
//        type slave;
//        file "slaves/econ.uni-sofia.bg";
//        masters { 62.44.120.5; };
        };

        zone "feba.uni-sofia.bg" {
        type master;
        file "feba.uni-sofia.bg";
//        type slave;
//        file "slaves/feba.uni-sofia.bg";
//        masters { 62.44.120.5; };
        };


        zone "economy.uni-sofia.bg" {
        type master;
        file "economy.uni-sofia.bg";
//        type slave;
//        file "slaves/economy.uni-sofia.bg";
//        masters { 62.44.120.5; };
        };

	// ailog -> ns.feb 11.02.05
	zone "ailog.uni-sofia.bg" {
        type master;
        file "ailog.uni-sofia.bg";

//        type slave;
//        file "slaves/ailog.uni-sofia.bg";
//        masters { 62.44.120.5;  };
        };

/*	zone "bg.freebsd.org" {
    	type slave;
     	file "slaves/bg.freebsd.org";
     	masters { 62.44.127.162 ; };
	};
*/
/*	zone "med.uni-sofia.bg" {
        type slave;
        file "slaves/med.uni-sofia.bg";
        masters { 62.44.96.184; };
      };
*/
        zone "its.uni-sofia.bg" {
        type slave;
        file "slaves/its.uni-sofia.bg";
        masters { 2001:67c:20d0:c0::3 ; 62.44.108.193 ; };
        };

        zone "kmk.uni-sofia.bg" {
           type master;
           file "dynamic/kmk.uni-sofia.bg";
           journal "dynamic/kmk.uni-sofia.bg.jnl";
           allow-update { key "stealth-kmk"; };
        };

        zone "polar.uni-sofia.bg" {
           type master;
           file "polar.uni-sofia.bg";
        };

        zone "ubg.uni-sofia.bg" {
           type master;
           file "ubg.uni-sofia.bg";
        };

        zone "unite.uni-sofia.bg" {
           type master;
           file "unite.uni-sofia.bg.signed";
        };

	//
	// ip6.arpa zones
	//
	// Initial Setup - Vesselin Kolev <vlk@lcpe.uni-sofia.bg>
	// 26 feb 2011
	//

	// ipv6.arpa for 2001:67c:20d0::/48
	zone "0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa.signed";
	};

	// LOZENETS - CORE SERVERS (DNS, WEB e.t.c.)
	zone "0.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "0.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

	// LOZENETS - NETWORKS BEHIND LOZ-GW.UNI-SOFIA.BG - parent zone
	zone "1.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "1.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

        // LOZENETS - VARIOUS NETWORKS
        zone "0.1.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
	file "0.1.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // PSBO
        zone "a.a.a.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "a.a.a.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // LOZ-GW - P2P NETWORKS
        zone "f.f.f.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "f.f.f.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

	// LOZENETS - SERVICE NETWORKS
	zone "f.f.f.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "f.f.f.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

	//
	// ipv6.arpa for 2001:67c:20d1::/48
	zone "1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

        // ipv6.arpa for 2001:67c:20d1:100::/60
        zone "0.0.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "0.0.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

	// RECTORATE - VLAN110
	zone "0.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "0.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

        // RECTORATE - VLAN112
        zone "2.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "2.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE - PHLS
        zone "3.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "3.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE - VLAN114
        zone "4.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "4.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE CLIO
        zone "5.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "5.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

	// RECTORATE - SLAV
	zone "6.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "6.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

        // RECTORATE - FCML
        zone "7.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "7.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE FLAW
        zone "8.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "8.1.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE - VLAN160 - Anycast/Nagios in Rectorate
        zone "0.6.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "0.6.1.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE - VLAN213
        zone "3.1.2.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "3.1.2.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE - VLAN214
        zone "4.1.2.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "4.1.2.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // RECTORATE - VLAN500
        zone "0.0.5.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "0.0.5.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

	// RECTORATE - SERVICE NETWORKS
	zone "f.f.f.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "f.f.f.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

	// IVKM - SERVICE NETWORKS
	zone "f.f.f.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "f.f.f.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

	// FNPP NETWORK
	zone "0.1.0.2.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
	type slave;
	file "0.1.0.2.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	masters { 2001:67c:20d1:2010::1 ; 62.44.105.1 ; };
	};

	// LOZENETS - LCPE/DCE
	zone "2.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/2.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d0:20::23 ; 62.44.103.23 ; };
	};

        // LOZENETS - FMI
        zone "3.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/3.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d0:30::1101; 62.44.101.1 ; };
        };

        // LOZENETS - FMI2
        zone "a.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/a.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d0:30::1101; 62.44.101.1 ; };
        };

	// LOZENETS - PHYS
	zone "4.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/4.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d0:40:62:44:98:1 ; 62.44.98.1 ; };
	};

	// LOZENETS - CHEM
	zone "5.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/5.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d0:50::7; 62.44.102.7; };
	};



        // LOZENETS - BIO - change 03.12.2015 
        zone "6.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "6.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };

        // LOZENETS - UNI-PRESS
        zone "7.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/7.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d0:ffff::b ; 62.44.127.43; };
        };

	// THEO
	zone "9.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
	type master;
        file "9.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
	};

	// MISHO servers FMI former 96th net CHEM
        zone "c.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/c.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
//        masters { 2001:67c:20d1:1123::1 ; 62.44.123.1 ; };
	masters { 2001:67c:20d0:c0::3 ; 62.44.108.193 ; };
        };

        // MISHO servers IVKM
        zone "3.2.1.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/3.2.1.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d1:1123::1 ; 62.44.123.1 ; };
//        masters { 2001:67c:20d1:1123::1 ;  };
        };

        // MISHO IVKM 125
        zone "5.2.1.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/5.2.1.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 2001:67c:20d1:1125::1 ; 62.44.125.3 ; };
        };

	// IVKM - FEB
        zone "2.1.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "2.1.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";


//        type slave;
//        file "slaves/2.1.1.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
//        masters { 2001:67c:20d1:1120::5 ; 62.44.120.5 ; };
        };

        // FSA - Free Software Assoc. Bulgaria - for contacts: vasil@ludost.net
        zone "b.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type slave;
        file "slaves/b.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        masters { 62.44.96.146 ; };
        };

        // ANYCASTS and other special networks
        zone "f.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "f.0.0.0.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };


//  LOZENEC ZIMBRA  h	ubenov 10.11.2015


    zone "7.9.0.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "7.9.0.0.1.d.0.2.c.7.6.0.1.0.0.2.ip6.arpa";
        };


/*
	zone "press.uni-sofia.bg" {
        type slave;
        masters { 192.168.1.103 ; };
        file "slaves/press.uni-sofia.bg";
        allow-notify { 192.168.1.103; }; //only from authoritative servers
        also-notify { 192.168.1.104; 192.168.1.106; }; //all anycasts - masters
        allow-transfer { key "test"; }; //all anycasts (ns1, ns2)  get zone updates using TSIG
        #allow-transfer { any; };
	};

*/


// IDN domains !!!
//
// Initially added by Veselin Kolev <vlk@lcpe.uni-sofia.bg>
// January 27, 2018
//

   zone "xn-----elcjdrcbmffnop4afbmnk8c.xn--90ae" {
      // су-свклимент-охридски.бг
      type master;
      file "xn-----elcjdrcbmffnop4afbmnk8c.xn--90ae";
   };

   zone "xn--h1ajcllf.xn--90ae" {
      // софуни.бг
      type master;
      file "xn--h1ajcllf.xn--90ae";
   };

   zone "xn------fddmeucbofgopq6afbnok1d.xn--90ae" {
      // су-св-климент-охридски.бг
      type master;
      file "xn------fddmeucbofgopq6afbnok1d.xn--90ae";
   };

   zone "xn--b1agajaacdj5ag6addhrbin.xn--90ae" {
      // софийскиуниверситет.бг
      type master;
      file "xn--b1agajaacdj5ag6addhrbin.xn--90ae";
   };

   zone "xn----7sbxcycuuf.xn--90ae" {
      // софиа-уни.бг
      type master;
      file "xn----7sbxcycuuf.xn--90ae";
   };

   zone "xn--b1aeclbbjeelmm0afalmj2c.xn--90ae" {
      // сусвклиментохридски.бг
      type master;
      file "xn--b1aeclbbjeelmm0afalmj2c.xn--90ae";
   };

   zone "xn-----llccocbkfemno2afmlk2c.xn--90ae" {
      // су-климент-охридски.бг
      type master;
      file "xn-----llccocbkfemno2afmlk2c.xn--90ae";
   };

   zone "xn--h1aaocoof3g.xn--90ae" {
      // софияуни.бг
      type master;
      file "xn--h1aaocoof3g.xn--90ae";
   };

   zone "xn--80aaau1agb8aq.xn--90ae" {
      // алмаматер.бг
      type master;
      file "xn--80aaau1agb8aq.xn--90ae";
   };

   zone "xn--h1aanfojl3g.xn--90ae" {
      // унисофия.бг
      type master;
      file "xn--h1aanfojl3g.xn--90ae";
   };

   zone "xn----otbbtcrrf4h.xn--90ae" {
      // софия-уни.бг
      type master;
      file "xn----otbbtcrrf4h.xn--90ae";
   };

   zone "xn--d1abibbhedkllyfkkj6b.xn--90ae" {
      // суклиментохридски.бг
      type master;
      file "xn--d1abibbhedkllyfkkj6b.xn--90ae";
   };

   zone "xn----htbblcbifdlmn0aflkk9b.xn--90ae" {
      // суклимент-охридски.бг
      type master;
      file "xn----htbblcbifdlmn0aflkk9b.xn--90ae";
   };

   zone "xn----7sbabz6ahc2bs.xn--90ae" {
      // алма-матер.бг
      type master;
      file "xn----7sbabz6ahc2bs.xn--90ae";
   };

   zone "xn----8sbwbwiumo.xn--90ae" {
      // су-свклимент-охридски.бг
      type master;
      file "xn----8sbwbwiumo.xn--90ae";
   };

   zone "xn--80apbtcrrf.xn--90ae" {
      // софиауни.бг
      type master;
      file "xn--80apbtcrrf.xn--90ae";
   };

   zone "xn----dtbgdobblefmnn2afblnj5c.xn--90ae" {
      // су-свклиментохридски.бг
      type master;
      file "xn----dtbgdobblefmnn2afblnj5c.xn--90ae";
   };

   zone "xn-----elcjerbbnegnoo4afbmoj8c.xn--90ae" {
      // су-св-климентохридски.бг
      type master;
      file "xn-----elcjerbbnegnoo4afbmoj8c.xn--90ae";
   };

   zone "xn----otbbrhrkn4h.xn--90ae" {
      // уни-софия.бг
      type master;
      file "xn----otbbrhrkn4h.xn--90ae";
   };

   zone "xn----htbclbbjeelmm0afllj9b.xn--90ae" {
      // су-климентохридски.бг
      type master;
      file "xn----htbclbbjeelmm0afllj9b.xn--90ae";
   };

   zone "xn----dtbjalabcdk9ag9addisbjn.xn--90ae" {
      // софийски-университет.бг
      type master;
      file "xn----dtbjalabcdk9ag9addisbjn.xn--90ae";
   };

};