diff --git a/primary/var/lib/bind/db.10.200 b/primary/var/lib/bind/db.10.200 new file mode 100755 index 0000000..3c46fe3 --- /dev/null +++ b/primary/var/lib/bind/db.10.200 @@ -0,0 +1,19 @@ +$TTL 3600 +@ IN SOA in.thelinuxpro.net. hostmaster.in.thelinuxpro.net. ( + 24041302 ; serial + 21600 ; refresh after 6 hours + 3600 ; retry after 1 hour + 604800 ; expire after 1 week + 86400 ) ; minimum TTL of 1 day +; +@ IN NS ns1.thelinuxpro.net. +@ IN NS ns2.thelinuxpro.net. +; +241.53 IN PTR dns01 +242.53 IN PTR dns02 +243.53 IN PTR dns03 +251.53 IN PTR 1.ntp +252.53 IN PTR 2.ntp +231.99 IN PTR nas81 +254.99 IN PTR gw99 +254.254 IN PTR unifi diff --git a/primary/var/lib/bind/db.10.99 b/primary/var/lib/bind/db.10.99 new file mode 100755 index 0000000..26d8b67 --- /dev/null +++ b/primary/var/lib/bind/db.10.99 @@ -0,0 +1,18 @@ +$TTL 3600 +@ IN SOA in.thelinuxpro.net. hostmaster.in.thelinuxpro.net. ( + 24041302 ; serial + 21600 ; refresh after 6 hours + 3600 ; retry after 1 hour + 604800 ; expire after 1 week + 86400 ) ; minimum TTL of 1 day +; +@ IN NS ns1.in.thelinuxpro.net. +@ IN NS ns2.in.thelinuxpro.net. +; +51.22 IN PTR pi501 +61.22 IN PTR pi401 +11.23 IN PTR jenkins +12.23 IN PTR git +13.23 IN PTR git-mysql +241.153 IN PTR ns1 +242.153 IN PTR ns2 diff --git a/primary/var/lib/bind/db.127 b/primary/var/lib/bind/db.127 new file mode 100755 index 0000000..1a12b84 --- /dev/null +++ b/primary/var/lib/bind/db.127 @@ -0,0 +1,13 @@ +$TTL 86400 +@ IN SOA localhost. hostmaster.localhost. ( + 24041302 ; serial + 21600 ; refresh after 6 hours + 3600 ; retry after 1 hour + 604800 ; expire after 1 week + 86400 ) ; minimum TTL of 1 day +; +@ IN NS ns1.in.thelinuxpro.net. +@ IN NS ns2.in.thelinuxpro.net. +; +1.0.0 IN PTR localhost. + diff --git a/primary/var/lib/bind/db.in.thelinuxpro.net b/primary/var/lib/bind/db.in.thelinuxpro.net new file mode 100755 index 0000000..7327f9c --- /dev/null +++ b/primary/var/lib/bind/db.in.thelinuxpro.net @@ -0,0 +1,39 @@ +$TTL 1H +@ IN SOA in.thelinuxpro.net. root.in.thelinuxpro.net. ( + 24041302 ; serial, todays date + todays serial # + 1H ; refresh, seconds + 2H ; retry, seconds + 1D ; expire, seconds + 1D ) ; minimum, seconds +; +@ NS ns1.thelinuxpro.net. +@ NS ns2.thelinuxpro.net. +; MX 10 thelinuxpro.net. ; Primary Mail Exchanger + TXT "The Linux Pro Internal Net" +; +localhost IN A 127.0.0.1 +; +unifi IN A 10.200.254.254 +; +;ns1 IN A 204.8.15.80 +;ns2 IN A 204.8.15.81 +; +pi401 IN A 10.99.22.61 +pi501 IN A 10.99.22.51 +; +git IN A 10.99.23.12 +jenkins IN A 10.99.23.11 +; +ns1 IN A 10.99.153.241 +ns2 IN A 10.99.153.242 +; +1.ntp IN A 10.200.53.251 +2.ntp IN A 10.200.53.252 +; +dns01 IN A 10.200.53.241 +dns02 IN A 10.200.53.242 +dns03 IN A 10.200.53.243 +; +nas81 IN A 10.200.99.231 +nas IN CNAME nas81 +gw99 IN A 10.200.99.254 diff --git a/primary/var/lib/bind/db.thelinuxpro.net b/primary/var/lib/bind/db.thelinuxpro.net new file mode 100755 index 0000000..b47fe1e --- /dev/null +++ b/primary/var/lib/bind/db.thelinuxpro.net @@ -0,0 +1,16 @@ +$TTL 86400 + +@ IN SOA thelinuxpro.net. root.thelinuxpro.net. ( + 2024041601 ; serial number YYMMDDNN + 28800 ; Refresh + 7200 ; Retry + 864000 ; Expire + 86400 ; Min TTL + ) +; + NS ns1.thelinuxpro.net. +@ NS ns2.thelinuxpro.net. + TXT "The Linux Pro Net" +; +ns1 IN A 204.8.15.80 +ns2 IN A 204.8.15.81 diff --git a/primary/var/lib/bind/managed-keys.bind b/primary/var/lib/bind/managed-keys.bind new file mode 100644 index 0000000..1e9906b --- /dev/null +++ b/primary/var/lib/bind/managed-keys.bind @@ -0,0 +1,21 @@ +$ORIGIN . +$TTL 0 ; 0 seconds +@ IN SOA . . ( + 6 ; serial + 0 ; refresh (0 seconds) + 0 ; retry (0 seconds) + 0 ; expire (0 seconds) + 0 ; minimum (0 seconds) + ) + KEYDATA 20240418041322 20240417034216 19700101000000 257 3 8 ( + AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTO + iW1vkIbzxeF3+/4RgWOq7HrxRixHlFlExOLAJr5emLvN + 7SWXgnLh4+B5xQlNVz8Og8kvArMtNROxVQuCaSnIDdD5 + LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF0jLHwVN8 + efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7 + pr+eoZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLY + A4/ilBmSVIzuDWfdRUfhHdY6+cn8HFRm+2hM8AnXGXws + 9555KrUB5qihylGa8subX2Nn6UwNR1AkUTV74bU= + ) ; KSK; alg = RSASHA256; key id = 20326 + ; next refresh: Thu, 18 Apr 2024 04:13:22 GMT + ; trusted since: Wed, 17 Apr 2024 03:42:16 GMT diff --git a/primary/var/lib/bind/managed-keys.bind.jnl b/primary/var/lib/bind/managed-keys.bind.jnl new file mode 100644 index 0000000..63fc52f Binary files /dev/null and b/primary/var/lib/bind/managed-keys.bind.jnl differ diff --git a/secondary/etc/bind/named.conf b/secondary/etc/bind/named.conf new file mode 100755 index 0000000..9b352c2 --- /dev/null +++ b/secondary/etc/bind/named.conf @@ -0,0 +1,32 @@ +options { + + directory "/var/lib/bind"; + dump-file "/var/log/named_dump.db"; + statistics-file "/var/log/named.stats"; + notify yes; +}; + +zone "thelinuxpro.net" in { + type secondary; + primaries { 10.99.153.241; }; +}; + +zone "in.thelinuxpro.net" in { + type secondary; + primaries { 10.99.153.241; }; +}; + +zone "200.10.in-addr.arpa" in { + type secondary; + primaries { 10.99.153.241; }; +}; + +zone "99.10.in-addr.arpa" in { + type secondary; + primaries { 10.99.153.241; }; +}; + +zone "0.0.127.in-addr.arpa" in { + type secondary; + primaries { 10.99.153.241; }; +}; diff --git a/secondary/var/lib/bind/managed-keys.bind b/secondary/var/lib/bind/managed-keys.bind new file mode 100644 index 0000000..caf661f --- /dev/null +++ b/secondary/var/lib/bind/managed-keys.bind @@ -0,0 +1,21 @@ +$ORIGIN . +$TTL 0 ; 0 seconds +@ IN SOA . . ( + 4 ; serial + 0 ; refresh (0 seconds) + 0 ; retry (0 seconds) + 0 ; expire (0 seconds) + 0 ; minimum (0 seconds) + ) + KEYDATA 20240418041322 20240417035040 19700101000000 257 3 8 ( + AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTO + iW1vkIbzxeF3+/4RgWOq7HrxRixHlFlExOLAJr5emLvN + 7SWXgnLh4+B5xQlNVz8Og8kvArMtNROxVQuCaSnIDdD5 + LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF0jLHwVN8 + efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7 + pr+eoZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLY + A4/ilBmSVIzuDWfdRUfhHdY6+cn8HFRm+2hM8AnXGXws + 9555KrUB5qihylGa8subX2Nn6UwNR1AkUTV74bU= + ) ; KSK; alg = RSASHA256; key id = 20326 + ; next refresh: Thu, 18 Apr 2024 04:13:22 GMT + ; trusted since: Wed, 17 Apr 2024 03:50:40 GMT diff --git a/secondary/var/lib/bind/managed-keys.bind.jnl b/secondary/var/lib/bind/managed-keys.bind.jnl new file mode 100644 index 0000000..1118173 Binary files /dev/null and b/secondary/var/lib/bind/managed-keys.bind.jnl differ