diff --git a/docker/bind9/etc/_template/named.partition.conf b/docker/bind9/etc/_template/named.partition.conf new file mode 100644 index 0000000..ee6ecdf --- /dev/null +++ b/docker/bind9/etc/_template/named.partition.conf @@ -0,0 +1,186 @@ +zone "vinyldns" { + type master; + file "/var/bind/partition/vinyldns.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns2{partition}" { + type master; + file "/var/bind/partition/old-vinyldns2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns3{partition}" { + type master; + file "/var/bind/partition/old-vinyldns3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dummy" { + type master; + file "/var/bind/partition/dummy.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "ok" { + type master; + file "/var/bind/partition/ok.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "shared" { + type master; + file "/var/bind/partition/shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "non.test.shared" { + type master; + file "/var/bind/partition/non.test.shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test" { + type master; + file "/var/bind/partition/system-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test-history" { + type master; + file "/var/bind/partition/system-test-history.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "{partition}.10.in-addr.arpa" { + type master; + file "/var/bind/partition/10.10.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "{partition}.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition/2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "192/30.{partition}.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition/192^30.2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "{partition}.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "0.0.0.1.{partition}.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time" { + type master; + file "/var/bind/partition/one-time.hosts"; + allow-update { key "vinyldns."; key "vinyldns-sha1."; key "vinyldns-sha224."; key "vinyldns-sha256."; key "vinyldns-sha384."; key "vinyldns-sha512."; }; + }; + +zone "sync-test" { + type master; + file "/var/bind/partition/sync-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "invalid-zone" { + type master; + file "/var/bind/partition/invalid-zone.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-1{partition}" { + type master; + file "/var/bind/partition/list-zones-test-searched-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-2{partition}" { + type master; + file "/var/bind/partition/list-zones-test-searched-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-3{partition}" { + type master; + file "/var/bind/partition/list-zones-test-searched-3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-1{partition}" { + type master; + file "/var/bind/partition/list-zones-test-unfiltered-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-2{partition}" { + type master; + file "/var/bind/partition/list-zones-test-unfiltered-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time-shared" { + type master; + file "/var/bind/partition/one-time-shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "parent.com" { + type master; + file "/var/bind/partition/parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "child.parent.com" { + type master; + file "/var/bind/partition/child.parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "example.com" { + type master; + file "/var/bind/partition/example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dskey.example.com" { + type master; + file "/var/bind/partition/dskey.example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "not.loaded" { + type master; + file "/var/bind/partition/not.loaded.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "zone.requires.review" { + type master; + file "/var/bind/partition/zone.requires.review.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-records" { + type master; + file "/var/bind/partition/list-records.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "open" { + type master; + file "/var/bind/partition/open.hosts"; + allow-update { any; }; + allow-transfer { any; }; + }; diff --git a/docker/bind9/etc/named.conf.default b/docker/bind9/etc/named.conf.default new file mode 100644 index 0000000..762f517 --- /dev/null +++ b/docker/bind9/etc/named.conf.default @@ -0,0 +1,162 @@ +zone "vinyldns" { + type master; + file "/var/bind/default/vinyldns.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns2" { + type master; + file "/var/bind/default/old-vinyldns2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns3" { + type master; + file "/var/bind/default/old-vinyldns3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dummy" { + type master; + file "/var/bind/default/dummy.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "ok" { + type master; + file "/var/bind/default/ok.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "shared" { + type master; + file "/var/bind/default/shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "non.test.shared" { + type master; + file "/var/bind/default/non.test.shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test" { + type master; + file "/var/bind/default/system-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test-history" { + type master; + file "/var/bind/default/system-test-history.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "10.10.in-addr.arpa" { + type master; + file "/var/bind/default/10.10.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time" { + type master; + file "/var/bind/default/one-time.hosts"; + allow-update { key "vinyldns."; key "vinyldns-sha1."; key "vinyldns-sha224."; key "vinyldns-sha256."; key "vinyldns-sha384."; key "vinyldns-sha512."; }; + }; + +zone "sync-test" { + type master; + file "/var/bind/default/sync-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "invalid-zone" { + type master; + file "/var/bind/default/invalid-zone.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-1{partition}" { + type master; + file "/var/bind/default/list-zones-test-searched-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-2{partition}" { + type master; + file "/var/bind/default/list-zones-test-searched-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-3{partition}" { + type master; + file "/var/bind/default/list-zones-test-searched-3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-1{partition}" { + type master; + file "/var/bind/default/list-zones-test-unfiltered-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-2{partition}" { + type master; + file "/var/bind/default/list-zones-test-unfiltered-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time-shared" { + type master; + file "/var/bind/default/one-time-shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "parent.com" { + type master; + file "/var/bind/default/parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "child.parent.com" { + type master; + file "/var/bind/default/child.parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "example.com" { + type master; + file "/var/bind/default/example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dskey.example.com" { + type master; + file "/var/bind/default/dskey.example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "not.loaded" { + type master; + file "/var/bind/default/not.loaded.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "zone.requires.review" { + type master; + file "/var/bind/default/zone.requires.review.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-records" { + type master; + file "/var/bind/default/list-records.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "open" { + type master; + file "/var/bind/default/open.hosts"; + allow-update { any; }; + allow-transfer { any; }; + }; diff --git a/docker/bind9/etc/named.conf.local b/docker/bind9/etc/named.conf.local old mode 100755 new mode 100644 index fc44d07..2a0fb56 --- a/docker/bind9/etc/named.conf.local +++ b/docker/bind9/etc/named.conf.local @@ -1,39 +1,36 @@ -// -// Do any local configuration here -// - -// Consider adding the 1918 zones here, if they are not used in your -// organization -//include "/etc/bind/zones.rfc1918"; key "vinyldns." { algorithm hmac-md5; secret "nzisn+4G2ldMn0q1CV3vsg=="; }; -// Consider adding the 1918 zones here, if they are not used in your -// organization -//include "/etc/bind/zones.rfc1918"; -zone "vinyldns" { - type master; - file "/var/bind/vinyldns.hosts"; - allow-update { key "vinyldns."; }; - }; +key "vinyldns-sha1." { + algorithm hmac-sha1; + secret "0nIhR1zS/nHUg2n0AIIUyJwXUyQ="; +}; + +key "vinyldns-sha224." { + algorithm hmac-sha224; + secret "yud/F666YjcnfqPSulHaYXrNObNnS1Jv+rX61A=="; +}; + +key "vinyldns-sha256." { + algorithm hmac-sha256; + secret "wzLsDGgPRxFaC6z/9Bc0n1W4KrnmaUdFCgCn2+7zbPU="; +}; -zone "2.0.192.in-addr.arpa" { - type master; - file "/var/bind/2.0.192.in-addr.arpa"; - allow-update { key "vinyldns."; }; - }; +key "vinyldns-sha384." { + algorithm hmac-sha384; + secret "ne9jSUJ7PBGveM37aOX+ZmBXQgz1EqkbYBO1s5l/LNpjEno4OfYvGo1Lv1rnw3pE"; +}; -zone "sync-test" { - type master; - file "/var/bind/sync-test.hosts"; - allow-update { key "vinyldns."; }; - }; +key "vinyldns-sha512." { + algorithm hmac-sha512; + secret "xfKA0DYb88tiUGND+cWddwUg3/SugYSsdvCfBOJ1jr8MEdgbVRyrlVDEXLsfTUGorQ3ShENdymw2yw+rTr+lwA=="; +}; -zone "not.loaded" { - type master; - file "/var/bind/not.loaded.hosts"; - allow-update { key "vinyldns."; }; - }; +include "/etc/bind/named.conf.default"; +include "/etc/bind/named.conf.partition1"; +include "/etc/bind/named.conf.partition2"; +include "/etc/bind/named.conf.partition3"; +include "/etc/bind/named.conf.partition4"; diff --git a/docker/bind9/etc/named.conf.partition1 b/docker/bind9/etc/named.conf.partition1 new file mode 100644 index 0000000..6f2d543 --- /dev/null +++ b/docker/bind9/etc/named.conf.partition1 @@ -0,0 +1,186 @@ +zone "vinyldns1" { + type master; + file "/var/bind/partition1/vinyldns.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns21" { + type master; + file "/var/bind/partition1/old-vinyldns2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns31" { + type master; + file "/var/bind/partition1/old-vinyldns3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dummy1" { + type master; + file "/var/bind/partition1/dummy.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "ok1" { + type master; + file "/var/bind/partition1/ok.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "shared1" { + type master; + file "/var/bind/partition1/shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "non.test.shared1" { + type master; + file "/var/bind/partition1/non.test.shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test1" { + type master; + file "/var/bind/partition1/system-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test-history1" { + type master; + file "/var/bind/partition1/system-test-history.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "1.10.in-addr.arpa" { + type master; + file "/var/bind/partition1/10.10.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "1.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition1/2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "192/30.1.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition1/192^30.2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition1/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition1/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time1" { + type master; + file "/var/bind/partition1/one-time.hosts"; + allow-update { key "vinyldns."; key "vinyldns-sha1."; key "vinyldns-sha224."; key "vinyldns-sha256."; key "vinyldns-sha384."; key "vinyldns-sha512."; }; + }; + +zone "sync-test1" { + type master; + file "/var/bind/partition1/sync-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "invalid-zone1" { + type master; + file "/var/bind/partition1/invalid-zone.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-11" { + type master; + file "/var/bind/partition1/list-zones-test-searched-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-21" { + type master; + file "/var/bind/partition1/list-zones-test-searched-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-31" { + type master; + file "/var/bind/partition1/list-zones-test-searched-3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-11" { + type master; + file "/var/bind/partition1/list-zones-test-unfiltered-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-21" { + type master; + file "/var/bind/partition1/list-zones-test-unfiltered-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time-shared1" { + type master; + file "/var/bind/partition1/one-time-shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "parent.com1" { + type master; + file "/var/bind/partition1/parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "child.parent.com1" { + type master; + file "/var/bind/partition1/child.parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "example.com1" { + type master; + file "/var/bind/partition1/example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dskey.example.com1" { + type master; + file "/var/bind/partition1/dskey.example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "not.loaded1" { + type master; + file "/var/bind/partition1/not.loaded.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "zone.requires.review1" { + type master; + file "/var/bind/partition1/zone.requires.review.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-records1" { + type master; + file "/var/bind/partition1/list-records.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "open1" { + type master; + file "/var/bind/partition1/open.hosts"; + allow-update { any; }; + allow-transfer { any; }; + }; diff --git a/docker/bind9/etc/named.conf.partition2 b/docker/bind9/etc/named.conf.partition2 new file mode 100644 index 0000000..51e77a3 --- /dev/null +++ b/docker/bind9/etc/named.conf.partition2 @@ -0,0 +1,186 @@ +zone "vinyldns2" { + type master; + file "/var/bind/partition2/vinyldns.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns22" { + type master; + file "/var/bind/partition2/old-vinyldns2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns32" { + type master; + file "/var/bind/partition2/old-vinyldns3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dummy2" { + type master; + file "/var/bind/partition2/dummy.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "ok2" { + type master; + file "/var/bind/partition2/ok.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "shared2" { + type master; + file "/var/bind/partition2/shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "non.test.shared2" { + type master; + file "/var/bind/partition2/non.test.shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test2" { + type master; + file "/var/bind/partition2/system-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test-history2" { + type master; + file "/var/bind/partition2/system-test-history.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "2.10.in-addr.arpa" { + type master; + file "/var/bind/partition2/10.10.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "2.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition2/2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "192/30.2.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition2/192^30.2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "2.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition2/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "0.0.0.1.2.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition2/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time2" { + type master; + file "/var/bind/partition2/one-time.hosts"; + allow-update { key "vinyldns."; key "vinyldns-sha1."; key "vinyldns-sha224."; key "vinyldns-sha256."; key "vinyldns-sha384."; key "vinyldns-sha512."; }; + }; + +zone "sync-test2" { + type master; + file "/var/bind/partition2/sync-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "invalid-zone2" { + type master; + file "/var/bind/partition2/invalid-zone.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-12" { + type master; + file "/var/bind/partition2/list-zones-test-searched-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-22" { + type master; + file "/var/bind/partition2/list-zones-test-searched-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-32" { + type master; + file "/var/bind/partition2/list-zones-test-searched-3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-12" { + type master; + file "/var/bind/partition2/list-zones-test-unfiltered-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-22" { + type master; + file "/var/bind/partition2/list-zones-test-unfiltered-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time-shared2" { + type master; + file "/var/bind/partition2/one-time-shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "parent.com2" { + type master; + file "/var/bind/partition2/parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "child.parent.com2" { + type master; + file "/var/bind/partition2/child.parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "example.com2" { + type master; + file "/var/bind/partition2/example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dskey.example.com2" { + type master; + file "/var/bind/partition2/dskey.example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "not.loaded2" { + type master; + file "/var/bind/partition2/not.loaded.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "zone.requires.review2" { + type master; + file "/var/bind/partition2/zone.requires.review.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-records2" { + type master; + file "/var/bind/partition2/list-records.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "open2" { + type master; + file "/var/bind/partition2/open.hosts"; + allow-update { any; }; + allow-transfer { any; }; + }; diff --git a/docker/bind9/etc/named.conf.partition3 b/docker/bind9/etc/named.conf.partition3 new file mode 100644 index 0000000..c2699cf --- /dev/null +++ b/docker/bind9/etc/named.conf.partition3 @@ -0,0 +1,186 @@ +zone "vinyldns3" { + type master; + file "/var/bind/partition3/vinyldns.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns23" { + type master; + file "/var/bind/partition3/old-vinyldns2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns33" { + type master; + file "/var/bind/partition3/old-vinyldns3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dummy3" { + type master; + file "/var/bind/partition3/dummy.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "ok3" { + type master; + file "/var/bind/partition3/ok.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "shared3" { + type master; + file "/var/bind/partition3/shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "non.test.shared3" { + type master; + file "/var/bind/partition3/non.test.shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test3" { + type master; + file "/var/bind/partition3/system-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test-history3" { + type master; + file "/var/bind/partition3/system-test-history.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "3.10.in-addr.arpa" { + type master; + file "/var/bind/partition3/10.10.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "3.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition3/2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "192/30.3.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition3/192^30.2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "3.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition3/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "0.0.0.1.3.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition3/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time3" { + type master; + file "/var/bind/partition3/one-time.hosts"; + allow-update { key "vinyldns."; key "vinyldns-sha1."; key "vinyldns-sha224."; key "vinyldns-sha256."; key "vinyldns-sha384."; key "vinyldns-sha512."; }; + }; + +zone "sync-test3" { + type master; + file "/var/bind/partition3/sync-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "invalid-zone3" { + type master; + file "/var/bind/partition3/invalid-zone.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-13" { + type master; + file "/var/bind/partition3/list-zones-test-searched-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-23" { + type master; + file "/var/bind/partition3/list-zones-test-searched-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-33" { + type master; + file "/var/bind/partition3/list-zones-test-searched-3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-13" { + type master; + file "/var/bind/partition3/list-zones-test-unfiltered-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-23" { + type master; + file "/var/bind/partition3/list-zones-test-unfiltered-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time-shared3" { + type master; + file "/var/bind/partition3/one-time-shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "parent.com3" { + type master; + file "/var/bind/partition3/parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "child.parent.com3" { + type master; + file "/var/bind/partition3/child.parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "example.com3" { + type master; + file "/var/bind/partition3/example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dskey.example.com3" { + type master; + file "/var/bind/partition3/dskey.example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "not.loaded3" { + type master; + file "/var/bind/partition3/not.loaded.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "zone.requires.review3" { + type master; + file "/var/bind/partition3/zone.requires.review.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-records3" { + type master; + file "/var/bind/partition3/list-records.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "open3" { + type master; + file "/var/bind/partition3/open.hosts"; + allow-update { any; }; + allow-transfer { any; }; + }; diff --git a/docker/bind9/etc/named.conf.partition4 b/docker/bind9/etc/named.conf.partition4 new file mode 100644 index 0000000..c3538c2 --- /dev/null +++ b/docker/bind9/etc/named.conf.partition4 @@ -0,0 +1,186 @@ +zone "vinyldns4" { + type master; + file "/var/bind/partition4/vinyldns.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns24" { + type master; + file "/var/bind/partition4/old-vinyldns2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "old-vinyldns34" { + type master; + file "/var/bind/partition4/old-vinyldns3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dummy4" { + type master; + file "/var/bind/partition4/dummy.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "ok4" { + type master; + file "/var/bind/partition4/ok.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "shared4" { + type master; + file "/var/bind/partition4/shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "non.test.shared4" { + type master; + file "/var/bind/partition4/non.test.shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test4" { + type master; + file "/var/bind/partition4/system-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "system-test-history4" { + type master; + file "/var/bind/partition4/system-test-history.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "4.10.in-addr.arpa" { + type master; + file "/var/bind/partition4/10.10.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "4.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition4/2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "192/30.4.0.192.in-addr.arpa" { + type master; + file "/var/bind/partition4/192^30.2.0.192.in-addr.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "4.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition4/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "0.0.0.1.4.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa" { + type master; + file "/var/bind/partition4/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time4" { + type master; + file "/var/bind/partition4/one-time.hosts"; + allow-update { key "vinyldns."; key "vinyldns-sha1."; key "vinyldns-sha224."; key "vinyldns-sha256."; key "vinyldns-sha384."; key "vinyldns-sha512."; }; + }; + +zone "sync-test4" { + type master; + file "/var/bind/partition4/sync-test.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "invalid-zone4" { + type master; + file "/var/bind/partition4/invalid-zone.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-14" { + type master; + file "/var/bind/partition4/list-zones-test-searched-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-24" { + type master; + file "/var/bind/partition4/list-zones-test-searched-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-searched-34" { + type master; + file "/var/bind/partition4/list-zones-test-searched-3.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-14" { + type master; + file "/var/bind/partition4/list-zones-test-unfiltered-1.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-zones-test-unfiltered-24" { + type master; + file "/var/bind/partition4/list-zones-test-unfiltered-2.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "one-time-shared4" { + type master; + file "/var/bind/partition4/one-time-shared.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "parent.com4" { + type master; + file "/var/bind/partition4/parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "child.parent.com4" { + type master; + file "/var/bind/partition4/child.parent.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "example.com4" { + type master; + file "/var/bind/partition4/example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "dskey.example.com4" { + type master; + file "/var/bind/partition4/dskey.example.com.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "not.loaded4" { + type master; + file "/var/bind/partition4/not.loaded.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "zone.requires.review4" { + type master; + file "/var/bind/partition4/zone.requires.review.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "list-records4" { + type master; + file "/var/bind/partition4/list-records.hosts"; + allow-update { key "vinyldns."; }; + }; + +zone "open4" { + type master; + file "/var/bind/partition4/open.hosts"; + allow-update { any; }; + allow-transfer { any; }; + }; diff --git a/docker/bind9/zones/_template/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/_template/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..46ca61a --- /dev/null +++ b/docker/bind9/zones/_template/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,12 @@ +$ttl 38400 +0.0.0.1.{partition}.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +0.0.0.1.{partition}.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/_template/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/_template/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..4eee859 --- /dev/null +++ b/docker/bind9/zones/_template/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,13 @@ +$ttl 38400 +{partition}.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +{partition}.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +0.0.0.1 IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/_template/10.10.in-addr.arpa b/docker/bind9/zones/_template/10.10.in-addr.arpa new file mode 100644 index 0000000..67b80e5 --- /dev/null +++ b/docker/bind9/zones/_template/10.10.in-addr.arpa @@ -0,0 +1,10 @@ +$ttl 38400 +{partition}.10.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +{partition}.10.in-addr.arpa. IN NS 172.17.42.1. +24.0 IN PTR www.vinyl. +25.0 IN PTR mail.vinyl. diff --git a/docker/bind9/zones/_template/192^30.2.0.192.in-addr.arpa b/docker/bind9/zones/_template/192^30.2.0.192.in-addr.arpa new file mode 100644 index 0000000..85f09bc --- /dev/null +++ b/docker/bind9/zones/_template/192^30.2.0.192.in-addr.arpa @@ -0,0 +1,11 @@ +$ttl 38400 +192/30.{partition}.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +192/30.{partition}.0.192.in-addr.arpa. IN NS 172.17.42.1. +192 IN PTR portal.vinyldns. +194 IN PTR mail.vinyldns. +195 IN PTR test.vinyldns. diff --git a/docker/bind9/zones/_template/2.0.192.in-addr.arpa b/docker/bind9/zones/_template/2.0.192.in-addr.arpa new file mode 100644 index 0000000..c457c25 --- /dev/null +++ b/docker/bind9/zones/_template/2.0.192.in-addr.arpa @@ -0,0 +1,15 @@ +$ttl 38400 +{partition}.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +{partition}.0.192.in-addr.arpa. IN NS 172.17.42.1. +192/30 IN NS 172.17.42.1. +192 IN CNAME 192.192/30.2.0.192.in-addr.arpa. +193 IN CNAME 193.192/30.2.0.192.in-addr.arpa. +194 IN CNAME 194.192/30.2.0.192.in-addr.arpa. +195 IN CNAME 195.192/30.2.0.192.in-addr.arpa. +253 IN PTR high.value.domain.ip4. +255 IN PTR needs.review.domain.ip4 diff --git a/docker/bind9/zones/_template/child.parent.com.hosts b/docker/bind9/zones/_template/child.parent.com.hosts new file mode 100644 index 0000000..478bea8 --- /dev/null +++ b/docker/bind9/zones/_template/child.parent.com.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +$ORIGIN child.parent.com{partition}. +@ IN SOA ns1.parent.com{partition}. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +@ IN NS ns1.parent.com{partition}. diff --git a/docker/bind9/zones/_template/dskey.example.com.hosts b/docker/bind9/zones/_template/dskey.example.com.hosts new file mode 100644 index 0000000..2e2fabc --- /dev/null +++ b/docker/bind9/zones/_template/dskey.example.com.hosts @@ -0,0 +1,9 @@ +$TTL 1h +$ORIGIN dskey.example.com{partition}. +@ IN SOA ns1.parent.com{partition}. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dskey.example.com{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/sync-test.hosts b/docker/bind9/zones/_template/dummy.hosts old mode 100755 new mode 100644 similarity index 54% rename from docker/bind9/zones/sync-test.hosts rename to docker/bind9/zones/_template/dummy.hosts index 72024b6..8c72fe9 --- a/docker/bind9/zones/sync-test.hosts +++ b/docker/bind9/zones/_template/dummy.hosts @@ -1,17 +1,15 @@ $ttl 38400 -sync-test. IN SOA 172.17.42.1. admin.test.com. ( +dummy{partition}. IN SOA 172.17.42.1. admin.test.com. ( 1439234395 10800 3600 604800 38400 ) -sync-test. IN NS 172.17.42.1. +dummy{partition}. IN NS 172.17.42.1. jenkins IN A 10.1.1.1 foo IN A 2.2.2.2 test IN A 3.3.3.3 test IN A 4.4.4.4 @ IN A 5.5.5.5 already-exists IN A 6.6.6.6 -fqdn.sync-test. IN A 7.7.7.7 -_sip._tcp IN SRV 10 60 5060 foo.sync-test. -existing.dotted IN A 9.9.9.9 +non-approved-delegation IN NS 7.7.7.7 diff --git a/docker/bind9/zones/_template/example.com.hosts b/docker/bind9/zones/_template/example.com.hosts new file mode 100644 index 0000000..83b4aad --- /dev/null +++ b/docker/bind9/zones/_template/example.com.hosts @@ -0,0 +1,10 @@ +$TTL 1h +$ORIGIN example.com{partition}. +@ IN SOA ns1.parent.com{partition}. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +example.com{partition}. IN NS 172.17.42.1. +dskey IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/invalid-zone.hosts b/docker/bind9/zones/_template/invalid-zone.hosts new file mode 100644 index 0000000..d3e2f1e --- /dev/null +++ b/docker/bind9/zones/_template/invalid-zone.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +invalid-zone{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +invalid-zone{partition}. IN NS 172.17.42.1. +invalid-zone{partition}. IN NS not-approved.thing.com. +invalid.child.invalid-zone{partition}. IN NS 172.17.42.1. +dotted.host.invalid-zone{partition}. IN A 1.2.3.4 +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/_template/list-records.hosts b/docker/bind9/zones/_template/list-records.hosts new file mode 100644 index 0000000..d5d8b44 --- /dev/null +++ b/docker/bind9/zones/_template/list-records.hosts @@ -0,0 +1,38 @@ +$ttl 38400 +list-records{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-records{partition}. IN NS 172.17.42.1. +00-test-list-recordsets-0-A IN A 10.1.1.1 +00-test-list-recordsets-0-A IN A 10.2.2.2 +00-test-list-recordsets-0-CNAME IN CNAME cname1. +00-test-list-recordsets-1-A IN A 10.1.1.1 +00-test-list-recordsets-1-A IN A 10.2.2.2 +00-test-list-recordsets-1-CNAME IN CNAME cname1. +00-test-list-recordsets-2-A IN A 10.1.1.1 +00-test-list-recordsets-2-A IN A 10.2.2.2 +00-test-list-recordsets-2-CNAME IN CNAME cname1. +00-test-list-recordsets-3-A IN A 10.1.1.1 +00-test-list-recordsets-3-A IN A 10.2.2.2 +00-test-list-recordsets-3-CNAME IN CNAME cname1. +00-test-list-recordsets-4-A IN A 10.1.1.1 +00-test-list-recordsets-4-A IN A 10.2.2.2 +00-test-list-recordsets-4-CNAME IN CNAME cname1. +00-test-list-recordsets-5-A IN A 10.1.1.1 +00-test-list-recordsets-5-A IN A 10.2.2.2 +00-test-list-recordsets-5-CNAME IN CNAME cname1. +00-test-list-recordsets-6-A IN A 10.1.1.1 +00-test-list-recordsets-6-A IN A 10.2.2.2 +00-test-list-recordsets-6-CNAME IN CNAME cname1. +00-test-list-recordsets-7-A IN A 10.1.1.1 +00-test-list-recordsets-7-A IN A 10.2.2.2 +00-test-list-recordsets-7-CNAME IN CNAME cname1. +00-test-list-recordsets-8-A IN A 10.1.1.1 +00-test-list-recordsets-8-A IN A 10.2.2.2 +00-test-list-recordsets-8-CNAME IN CNAME cname1. +00-test-list-recordsets-9-A IN A 10.1.1.1 +00-test-list-recordsets-9-A IN A 10.2.2.2 +00-test-list-recordsets-9-CNAME IN CNAME cname1. diff --git a/docker/bind9/zones/_template/list-zones-test-searched-1.hosts b/docker/bind9/zones/_template/list-zones-test-searched-1.hosts new file mode 100644 index 0000000..a9de7da --- /dev/null +++ b/docker/bind9/zones/_template/list-zones-test-searched-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-1{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-1{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/list-zones-test-searched-2.hosts b/docker/bind9/zones/_template/list-zones-test-searched-2.hosts new file mode 100644 index 0000000..881467a --- /dev/null +++ b/docker/bind9/zones/_template/list-zones-test-searched-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-2{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-2{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/list-zones-test-searched-3.hosts b/docker/bind9/zones/_template/list-zones-test-searched-3.hosts new file mode 100644 index 0000000..9b6513f --- /dev/null +++ b/docker/bind9/zones/_template/list-zones-test-searched-3.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-3{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-3{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/list-zones-test-unfiltered-1.hosts b/docker/bind9/zones/_template/list-zones-test-unfiltered-1.hosts new file mode 100644 index 0000000..dd9dd12 --- /dev/null +++ b/docker/bind9/zones/_template/list-zones-test-unfiltered-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-1{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-1{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/list-zones-test-unfiltered-2.hosts b/docker/bind9/zones/_template/list-zones-test-unfiltered-2.hosts new file mode 100644 index 0000000..8469e24 --- /dev/null +++ b/docker/bind9/zones/_template/list-zones-test-unfiltered-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-2{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-2{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/non.test.shared.hosts b/docker/bind9/zones/_template/non.test.shared.hosts new file mode 100644 index 0000000..462e420 --- /dev/null +++ b/docker/bind9/zones/_template/non.test.shared.hosts @@ -0,0 +1,13 @@ +$ttl 38400 +non.test.shared{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +non.test.shared{partition}. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 +delete-test IN A 4.4.4.4 +update-test IN A 5.5.5.5 diff --git a/docker/bind9/zones/_template/not.loaded.hosts b/docker/bind9/zones/_template/not.loaded.hosts new file mode 100644 index 0000000..ccb4686 --- /dev/null +++ b/docker/bind9/zones/_template/not.loaded.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +not.loaded{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +not.loaded{partition}. IN NS 172.17.42.1. +foo IN A 1.1.1.1 diff --git a/docker/bind9/zones/_template/ok.hosts b/docker/bind9/zones/_template/ok.hosts new file mode 100644 index 0000000..35f75b5 --- /dev/null +++ b/docker/bind9/zones/_template/ok.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +ok{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +ok{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +dotted.a IN A 7.7.7.7 +dottedc.name IN CNAME test.example.com diff --git a/docker/bind9/zones/_template/old-shared.hosts b/docker/bind9/zones/_template/old-shared.hosts new file mode 100644 index 0000000..026d013 --- /dev/null +++ b/docker/bind9/zones/_template/old-shared.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-shared{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-shared{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/_template/old-vinyldns2.hosts b/docker/bind9/zones/_template/old-vinyldns2.hosts new file mode 100644 index 0000000..a1d20aa --- /dev/null +++ b/docker/bind9/zones/_template/old-vinyldns2.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns2{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns2{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/_template/old-vinyldns3.hosts b/docker/bind9/zones/_template/old-vinyldns3.hosts new file mode 100644 index 0000000..2776351 --- /dev/null +++ b/docker/bind9/zones/_template/old-vinyldns3.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns3{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns3{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/_template/one-time-shared.hosts b/docker/bind9/zones/_template/one-time-shared.hosts new file mode 100644 index 0000000..0286e5d --- /dev/null +++ b/docker/bind9/zones/_template/one-time-shared.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +one-time-shared{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time-shared{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/one-time.hosts b/docker/bind9/zones/_template/one-time.hosts new file mode 100644 index 0000000..df2fd08 --- /dev/null +++ b/docker/bind9/zones/_template/one-time.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +one-time{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/_template/open.hosts b/docker/bind9/zones/_template/open.hosts new file mode 100644 index 0000000..f4661cd --- /dev/null +++ b/docker/bind9/zones/_template/open.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +open{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +open{partition}. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/_template/parent.com.hosts b/docker/bind9/zones/_template/parent.com.hosts new file mode 100644 index 0000000..b364ffa --- /dev/null +++ b/docker/bind9/zones/_template/parent.com.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +$ORIGIN parent.com{partition}. +@ IN SOA ns1.parent.com{partition}. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +parent.com{partition}. IN NS ns1.parent.com{partition}. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +already-exists IN A 6.6.6.6 +ns1 IN A 172.17.42.1 diff --git a/docker/bind9/zones/_template/shared.hosts b/docker/bind9/zones/_template/shared.hosts new file mode 100644 index 0000000..2d809bb --- /dev/null +++ b/docker/bind9/zones/_template/shared.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +shared{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +shared{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/_template/sync-test.hosts b/docker/bind9/zones/_template/sync-test.hosts new file mode 100644 index 0000000..ae95585 --- /dev/null +++ b/docker/bind9/zones/_template/sync-test.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +sync-test{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +sync-test{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +fqdn.sync-test{partition}. IN A 7.7.7.7 +_sip._tcp IN SRV 10 60 5060 foo.sync-test. +existing.dotted IN A 9.9.9.9 diff --git a/docker/bind9/zones/_template/system-test-history.hosts b/docker/bind9/zones/_template/system-test-history.hosts new file mode 100644 index 0000000..d656b3d --- /dev/null +++ b/docker/bind9/zones/_template/system-test-history.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +system-test-history{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test-history{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/_template/system-test.hosts b/docker/bind9/zones/_template/system-test.hosts new file mode 100644 index 0000000..f98d547 --- /dev/null +++ b/docker/bind9/zones/_template/system-test.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +system-test{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +high-value-domain IN A 1.1.1.1 +high-VALUE-domain-UPPER-CASE IN A 1.1.1.1 diff --git a/docker/bind9/zones/_template/vinyldns.hosts b/docker/bind9/zones/_template/vinyldns.hosts new file mode 100644 index 0000000..931b22b --- /dev/null +++ b/docker/bind9/zones/_template/vinyldns.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +vinyldns{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +vinyldns{partition}. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/_template/zone.requires.review.hosts b/docker/bind9/zones/_template/zone.requires.review.hosts new file mode 100644 index 0000000..715a30e --- /dev/null +++ b/docker/bind9/zones/_template/zone.requires.review.hosts @@ -0,0 +1,11 @@ +$ttl 38400 +zone.requires.review{partition}. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +zone.requires.review{partition}. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/default/10.10.in-addr.arpa b/docker/bind9/zones/default/10.10.in-addr.arpa new file mode 100644 index 0000000..07c5b3f --- /dev/null +++ b/docker/bind9/zones/default/10.10.in-addr.arpa @@ -0,0 +1,10 @@ +$ttl 38400 +10.10.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +10.10.in-addr.arpa. IN NS 172.17.42.1. +24.0 IN PTR www.vinyl. +25.0 IN PTR mail.vinyl. diff --git a/docker/bind9/zones/default/child.parent.com.hosts b/docker/bind9/zones/default/child.parent.com.hosts new file mode 100644 index 0000000..a746305 --- /dev/null +++ b/docker/bind9/zones/default/child.parent.com.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +$ORIGIN child.parent.com. +@ IN SOA ns1.parent.com. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +@ IN NS ns1.parent.com. diff --git a/docker/bind9/zones/default/dskey.example.com.hosts b/docker/bind9/zones/default/dskey.example.com.hosts new file mode 100644 index 0000000..a730ac3 --- /dev/null +++ b/docker/bind9/zones/default/dskey.example.com.hosts @@ -0,0 +1,9 @@ +$TTL 1h +$ORIGIN dskey.example.com. +@ IN SOA ns1.parent.com. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dskey.example.com. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/dummy.hosts b/docker/bind9/zones/default/dummy.hosts new file mode 100644 index 0000000..e6a53c3 --- /dev/null +++ b/docker/bind9/zones/default/dummy.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +dummy. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dummy. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +non-approved-delegation IN NS 7.7.7.7 diff --git a/docker/bind9/zones/default/example.com.hosts b/docker/bind9/zones/default/example.com.hosts new file mode 100644 index 0000000..7e8175f --- /dev/null +++ b/docker/bind9/zones/default/example.com.hosts @@ -0,0 +1,10 @@ +$TTL 1h +$ORIGIN example.com. +@ IN SOA ns1.parent.com. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +example.com. IN NS 172.17.42.1. +dskey IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/invalid-zone.hosts b/docker/bind9/zones/default/invalid-zone.hosts new file mode 100644 index 0000000..47eae69 --- /dev/null +++ b/docker/bind9/zones/default/invalid-zone.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +invalid-zone. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +invalid-zone. IN NS 172.17.42.1. +invalid-zone. IN NS not-approved.thing.com. +invalid.child.invalid-zone. IN NS 172.17.42.1. +dotted.host.invalid-zone. IN A 1.2.3.4 +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/default/list-records.hosts b/docker/bind9/zones/default/list-records.hosts new file mode 100644 index 0000000..f50a10f --- /dev/null +++ b/docker/bind9/zones/default/list-records.hosts @@ -0,0 +1,38 @@ +$ttl 38400 +list-records. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-records. IN NS 172.17.42.1. +00-test-list-recordsets-0-A IN A 10.1.1.1 +00-test-list-recordsets-0-A IN A 10.2.2.2 +00-test-list-recordsets-0-CNAME IN CNAME cname1. +00-test-list-recordsets-1-A IN A 10.1.1.1 +00-test-list-recordsets-1-A IN A 10.2.2.2 +00-test-list-recordsets-1-CNAME IN CNAME cname1. +00-test-list-recordsets-2-A IN A 10.1.1.1 +00-test-list-recordsets-2-A IN A 10.2.2.2 +00-test-list-recordsets-2-CNAME IN CNAME cname1. +00-test-list-recordsets-3-A IN A 10.1.1.1 +00-test-list-recordsets-3-A IN A 10.2.2.2 +00-test-list-recordsets-3-CNAME IN CNAME cname1. +00-test-list-recordsets-4-A IN A 10.1.1.1 +00-test-list-recordsets-4-A IN A 10.2.2.2 +00-test-list-recordsets-4-CNAME IN CNAME cname1. +00-test-list-recordsets-5-A IN A 10.1.1.1 +00-test-list-recordsets-5-A IN A 10.2.2.2 +00-test-list-recordsets-5-CNAME IN CNAME cname1. +00-test-list-recordsets-6-A IN A 10.1.1.1 +00-test-list-recordsets-6-A IN A 10.2.2.2 +00-test-list-recordsets-6-CNAME IN CNAME cname1. +00-test-list-recordsets-7-A IN A 10.1.1.1 +00-test-list-recordsets-7-A IN A 10.2.2.2 +00-test-list-recordsets-7-CNAME IN CNAME cname1. +00-test-list-recordsets-8-A IN A 10.1.1.1 +00-test-list-recordsets-8-A IN A 10.2.2.2 +00-test-list-recordsets-8-CNAME IN CNAME cname1. +00-test-list-recordsets-9-A IN A 10.1.1.1 +00-test-list-recordsets-9-A IN A 10.2.2.2 +00-test-list-recordsets-9-CNAME IN CNAME cname1. diff --git a/docker/bind9/zones/default/list-zones-test-searched-1.hosts b/docker/bind9/zones/default/list-zones-test-searched-1.hosts new file mode 100644 index 0000000..c2cf966 --- /dev/null +++ b/docker/bind9/zones/default/list-zones-test-searched-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-1. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/list-zones-test-searched-2.hosts b/docker/bind9/zones/default/list-zones-test-searched-2.hosts new file mode 100644 index 0000000..b531d2a --- /dev/null +++ b/docker/bind9/zones/default/list-zones-test-searched-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-2. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/list-zones-test-searched-3.hosts b/docker/bind9/zones/default/list-zones-test-searched-3.hosts new file mode 100644 index 0000000..33e76e9 --- /dev/null +++ b/docker/bind9/zones/default/list-zones-test-searched-3.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-3. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/list-zones-test-unfiltered-1.hosts b/docker/bind9/zones/default/list-zones-test-unfiltered-1.hosts new file mode 100644 index 0000000..9205eec --- /dev/null +++ b/docker/bind9/zones/default/list-zones-test-unfiltered-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-1. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/list-zones-test-unfiltered-2.hosts b/docker/bind9/zones/default/list-zones-test-unfiltered-2.hosts new file mode 100644 index 0000000..dfdb664 --- /dev/null +++ b/docker/bind9/zones/default/list-zones-test-unfiltered-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-2. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/non.test.shared.hosts b/docker/bind9/zones/default/non.test.shared.hosts new file mode 100644 index 0000000..0988460 --- /dev/null +++ b/docker/bind9/zones/default/non.test.shared.hosts @@ -0,0 +1,13 @@ +$ttl 38400 +non.test.shared. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +non.test.shared. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 +delete-test IN A 4.4.4.4 +update-test IN A 5.5.5.5 diff --git a/docker/bind9/zones/not.loaded.hosts b/docker/bind9/zones/default/not.loaded.hosts similarity index 100% rename from docker/bind9/zones/not.loaded.hosts rename to docker/bind9/zones/default/not.loaded.hosts diff --git a/docker/bind9/zones/default/ok.hosts b/docker/bind9/zones/default/ok.hosts new file mode 100644 index 0000000..aaa985c --- /dev/null +++ b/docker/bind9/zones/default/ok.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +ok. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +ok. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +dotted.a IN A 7.7.7.7 +dottedc.name IN CNAME test.example.com diff --git a/docker/bind9/zones/default/old-shared.hosts b/docker/bind9/zones/default/old-shared.hosts new file mode 100644 index 0000000..a7c06b6 --- /dev/null +++ b/docker/bind9/zones/default/old-shared.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-shared. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-shared. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/default/old-vinyldns2.hosts b/docker/bind9/zones/default/old-vinyldns2.hosts new file mode 100644 index 0000000..5fdc55c --- /dev/null +++ b/docker/bind9/zones/default/old-vinyldns2.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/default/old-vinyldns3.hosts b/docker/bind9/zones/default/old-vinyldns3.hosts new file mode 100644 index 0000000..5d51488 --- /dev/null +++ b/docker/bind9/zones/default/old-vinyldns3.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/default/one-time-shared.hosts b/docker/bind9/zones/default/one-time-shared.hosts new file mode 100644 index 0000000..654f015 --- /dev/null +++ b/docker/bind9/zones/default/one-time-shared.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +one-time-shared. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time-shared. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/one-time.hosts b/docker/bind9/zones/default/one-time.hosts new file mode 100644 index 0000000..df07241 --- /dev/null +++ b/docker/bind9/zones/default/one-time.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +one-time. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/default/open.hosts b/docker/bind9/zones/default/open.hosts new file mode 100644 index 0000000..48f9941 --- /dev/null +++ b/docker/bind9/zones/default/open.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +open. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +open. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/default/parent.com.hosts b/docker/bind9/zones/default/parent.com.hosts new file mode 100644 index 0000000..c3dc749 --- /dev/null +++ b/docker/bind9/zones/default/parent.com.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +$ORIGIN parent.com. +@ IN SOA ns1.parent.com. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +parent.com. IN NS ns1.parent.com. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +already-exists IN A 6.6.6.6 +ns1 IN A 172.17.42.1 diff --git a/docker/bind9/zones/default/shared.hosts b/docker/bind9/zones/default/shared.hosts new file mode 100644 index 0000000..d9115a1 --- /dev/null +++ b/docker/bind9/zones/default/shared.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +shared. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +shared. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/default/sync-test.hosts b/docker/bind9/zones/default/sync-test.hosts new file mode 100644 index 0000000..a369f01 --- /dev/null +++ b/docker/bind9/zones/default/sync-test.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +sync-test. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +sync-test. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +fqdn.sync-test. IN A 7.7.7.7 +_sip._tcp IN SRV 10 60 5060 foo.sync-test. +existing.dotted IN A 9.9.9.9 diff --git a/docker/bind9/zones/default/system-test-history.hosts b/docker/bind9/zones/default/system-test-history.hosts new file mode 100644 index 0000000..1408efd --- /dev/null +++ b/docker/bind9/zones/default/system-test-history.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +system-test-history. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test-history. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/default/system-test.hosts b/docker/bind9/zones/default/system-test.hosts new file mode 100644 index 0000000..75a819a --- /dev/null +++ b/docker/bind9/zones/default/system-test.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +system-test. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +high-value-domain IN A 1.1.1.1 +high-VALUE-domain-UPPER-CASE IN A 1.1.1.1 diff --git a/docker/bind9/zones/vinyldns.hosts b/docker/bind9/zones/default/vinyldns.hosts similarity index 100% rename from docker/bind9/zones/vinyldns.hosts rename to docker/bind9/zones/default/vinyldns.hosts diff --git a/docker/bind9/zones/default/zone.requires.review.hosts b/docker/bind9/zones/default/zone.requires.review.hosts new file mode 100644 index 0000000..b1deedd --- /dev/null +++ b/docker/bind9/zones/default/zone.requires.review.hosts @@ -0,0 +1,11 @@ +$ttl 38400 +zone.requires.review. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +zone.requires.review. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition1/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition1/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..782240b --- /dev/null +++ b/docker/bind9/zones/partition1/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,12 @@ +$ttl 38400 +0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition1/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition1/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..ff2b350 --- /dev/null +++ b/docker/bind9/zones/partition1/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,13 @@ +$ttl 38400 +1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +0.0.0.1 IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition1/10.10.in-addr.arpa b/docker/bind9/zones/partition1/10.10.in-addr.arpa new file mode 100644 index 0000000..3b11d20 --- /dev/null +++ b/docker/bind9/zones/partition1/10.10.in-addr.arpa @@ -0,0 +1,10 @@ +$ttl 38400 +1.10.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +1.10.in-addr.arpa. IN NS 172.17.42.1. +24.0 IN PTR www.vinyl. +25.0 IN PTR mail.vinyl. diff --git a/docker/bind9/zones/partition1/192^30.2.0.192.in-addr.arpa b/docker/bind9/zones/partition1/192^30.2.0.192.in-addr.arpa new file mode 100644 index 0000000..f95c2de --- /dev/null +++ b/docker/bind9/zones/partition1/192^30.2.0.192.in-addr.arpa @@ -0,0 +1,11 @@ +$ttl 38400 +192/30.1.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +192/30.1.0.192.in-addr.arpa. IN NS 172.17.42.1. +192 IN PTR portal.vinyldns. +194 IN PTR mail.vinyldns. +195 IN PTR test.vinyldns. diff --git a/docker/bind9/zones/partition1/2.0.192.in-addr.arpa b/docker/bind9/zones/partition1/2.0.192.in-addr.arpa new file mode 100644 index 0000000..e9c7995 --- /dev/null +++ b/docker/bind9/zones/partition1/2.0.192.in-addr.arpa @@ -0,0 +1,15 @@ +$ttl 38400 +1.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +1.0.192.in-addr.arpa. IN NS 172.17.42.1. +192/30 IN NS 172.17.42.1. +192 IN CNAME 192.192/30.2.0.192.in-addr.arpa. +193 IN CNAME 193.192/30.2.0.192.in-addr.arpa. +194 IN CNAME 194.192/30.2.0.192.in-addr.arpa. +195 IN CNAME 195.192/30.2.0.192.in-addr.arpa. +253 IN PTR high.value.domain.ip4. +255 IN PTR needs.review.domain.ip4 diff --git a/docker/bind9/zones/partition1/child.parent.com.hosts b/docker/bind9/zones/partition1/child.parent.com.hosts new file mode 100644 index 0000000..b43e247 --- /dev/null +++ b/docker/bind9/zones/partition1/child.parent.com.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +$ORIGIN child.parent.com1. +@ IN SOA ns1.parent.com1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +@ IN NS ns1.parent.com1. diff --git a/docker/bind9/zones/partition1/dskey.example.com.hosts b/docker/bind9/zones/partition1/dskey.example.com.hosts new file mode 100644 index 0000000..1e9300b --- /dev/null +++ b/docker/bind9/zones/partition1/dskey.example.com.hosts @@ -0,0 +1,9 @@ +$TTL 1h +$ORIGIN dskey.example.com1. +@ IN SOA ns1.parent.com1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dskey.example.com1. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/dummy.hosts b/docker/bind9/zones/partition1/dummy.hosts new file mode 100644 index 0000000..804ff27 --- /dev/null +++ b/docker/bind9/zones/partition1/dummy.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +dummy1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dummy1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +non-approved-delegation IN NS 7.7.7.7 diff --git a/docker/bind9/zones/partition1/example.com.hosts b/docker/bind9/zones/partition1/example.com.hosts new file mode 100644 index 0000000..93994fa --- /dev/null +++ b/docker/bind9/zones/partition1/example.com.hosts @@ -0,0 +1,10 @@ +$TTL 1h +$ORIGIN example.com1. +@ IN SOA ns1.parent.com1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +example.com1. IN NS 172.17.42.1. +dskey IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/invalid-zone.hosts b/docker/bind9/zones/partition1/invalid-zone.hosts new file mode 100644 index 0000000..bbb9bd1 --- /dev/null +++ b/docker/bind9/zones/partition1/invalid-zone.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +invalid-zone1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +invalid-zone1. IN NS 172.17.42.1. +invalid-zone1. IN NS not-approved.thing.com. +invalid.child.invalid-zone1. IN NS 172.17.42.1. +dotted.host.invalid-zone1. IN A 1.2.3.4 +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition1/list-records.hosts b/docker/bind9/zones/partition1/list-records.hosts new file mode 100644 index 0000000..f174462 --- /dev/null +++ b/docker/bind9/zones/partition1/list-records.hosts @@ -0,0 +1,38 @@ +$ttl 38400 +list-records1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-records1. IN NS 172.17.42.1. +00-test-list-recordsets-0-A IN A 10.1.1.1 +00-test-list-recordsets-0-A IN A 10.2.2.2 +00-test-list-recordsets-0-CNAME IN CNAME cname1. +00-test-list-recordsets-1-A IN A 10.1.1.1 +00-test-list-recordsets-1-A IN A 10.2.2.2 +00-test-list-recordsets-1-CNAME IN CNAME cname1. +00-test-list-recordsets-2-A IN A 10.1.1.1 +00-test-list-recordsets-2-A IN A 10.2.2.2 +00-test-list-recordsets-2-CNAME IN CNAME cname1. +00-test-list-recordsets-3-A IN A 10.1.1.1 +00-test-list-recordsets-3-A IN A 10.2.2.2 +00-test-list-recordsets-3-CNAME IN CNAME cname1. +00-test-list-recordsets-4-A IN A 10.1.1.1 +00-test-list-recordsets-4-A IN A 10.2.2.2 +00-test-list-recordsets-4-CNAME IN CNAME cname1. +00-test-list-recordsets-5-A IN A 10.1.1.1 +00-test-list-recordsets-5-A IN A 10.2.2.2 +00-test-list-recordsets-5-CNAME IN CNAME cname1. +00-test-list-recordsets-6-A IN A 10.1.1.1 +00-test-list-recordsets-6-A IN A 10.2.2.2 +00-test-list-recordsets-6-CNAME IN CNAME cname1. +00-test-list-recordsets-7-A IN A 10.1.1.1 +00-test-list-recordsets-7-A IN A 10.2.2.2 +00-test-list-recordsets-7-CNAME IN CNAME cname1. +00-test-list-recordsets-8-A IN A 10.1.1.1 +00-test-list-recordsets-8-A IN A 10.2.2.2 +00-test-list-recordsets-8-CNAME IN CNAME cname1. +00-test-list-recordsets-9-A IN A 10.1.1.1 +00-test-list-recordsets-9-A IN A 10.2.2.2 +00-test-list-recordsets-9-CNAME IN CNAME cname1. diff --git a/docker/bind9/zones/partition1/list-zones-test-searched-1.hosts b/docker/bind9/zones/partition1/list-zones-test-searched-1.hosts new file mode 100644 index 0000000..bf7c683 --- /dev/null +++ b/docker/bind9/zones/partition1/list-zones-test-searched-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-11. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-11. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/list-zones-test-searched-2.hosts b/docker/bind9/zones/partition1/list-zones-test-searched-2.hosts new file mode 100644 index 0000000..45e7466 --- /dev/null +++ b/docker/bind9/zones/partition1/list-zones-test-searched-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-21. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-21. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/list-zones-test-searched-3.hosts b/docker/bind9/zones/partition1/list-zones-test-searched-3.hosts new file mode 100644 index 0000000..ee42242 --- /dev/null +++ b/docker/bind9/zones/partition1/list-zones-test-searched-3.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-31. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-31. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/list-zones-test-unfiltered-1.hosts b/docker/bind9/zones/partition1/list-zones-test-unfiltered-1.hosts new file mode 100644 index 0000000..0ee4fec --- /dev/null +++ b/docker/bind9/zones/partition1/list-zones-test-unfiltered-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-11. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-11. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/list-zones-test-unfiltered-2.hosts b/docker/bind9/zones/partition1/list-zones-test-unfiltered-2.hosts new file mode 100644 index 0000000..e59eecd --- /dev/null +++ b/docker/bind9/zones/partition1/list-zones-test-unfiltered-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-21. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-21. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/non.test.shared.hosts b/docker/bind9/zones/partition1/non.test.shared.hosts new file mode 100644 index 0000000..6a99fb0 --- /dev/null +++ b/docker/bind9/zones/partition1/non.test.shared.hosts @@ -0,0 +1,13 @@ +$ttl 38400 +non.test.shared1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +non.test.shared1. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 +delete-test IN A 4.4.4.4 +update-test IN A 5.5.5.5 diff --git a/docker/bind9/zones/partition1/not.loaded.hosts b/docker/bind9/zones/partition1/not.loaded.hosts new file mode 100644 index 0000000..117e55c --- /dev/null +++ b/docker/bind9/zones/partition1/not.loaded.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +not.loaded1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +not.loaded1. IN NS 172.17.42.1. +foo IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition1/ok.hosts b/docker/bind9/zones/partition1/ok.hosts new file mode 100644 index 0000000..c8748a4 --- /dev/null +++ b/docker/bind9/zones/partition1/ok.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +ok1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +ok1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +dotted.a IN A 7.7.7.7 +dottedc.name IN CNAME test.example.com diff --git a/docker/bind9/zones/partition1/old-shared.hosts b/docker/bind9/zones/partition1/old-shared.hosts new file mode 100644 index 0000000..487dd6b --- /dev/null +++ b/docker/bind9/zones/partition1/old-shared.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-shared1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-shared1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition1/old-vinyldns2.hosts b/docker/bind9/zones/partition1/old-vinyldns2.hosts new file mode 100644 index 0000000..e0ffb3b --- /dev/null +++ b/docker/bind9/zones/partition1/old-vinyldns2.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns21. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns21. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition1/old-vinyldns3.hosts b/docker/bind9/zones/partition1/old-vinyldns3.hosts new file mode 100644 index 0000000..f98e656 --- /dev/null +++ b/docker/bind9/zones/partition1/old-vinyldns3.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns31. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns31. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition1/one-time-shared.hosts b/docker/bind9/zones/partition1/one-time-shared.hosts new file mode 100644 index 0000000..df3f87a --- /dev/null +++ b/docker/bind9/zones/partition1/one-time-shared.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +one-time-shared1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time-shared1. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/one-time.hosts b/docker/bind9/zones/partition1/one-time.hosts new file mode 100644 index 0000000..abe1f02 --- /dev/null +++ b/docker/bind9/zones/partition1/one-time.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +one-time1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition1/open.hosts b/docker/bind9/zones/partition1/open.hosts new file mode 100644 index 0000000..f72115a --- /dev/null +++ b/docker/bind9/zones/partition1/open.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +open1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +open1. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition1/parent.com.hosts b/docker/bind9/zones/partition1/parent.com.hosts new file mode 100644 index 0000000..e93a370 --- /dev/null +++ b/docker/bind9/zones/partition1/parent.com.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +$ORIGIN parent.com1. +@ IN SOA ns1.parent.com1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +parent.com1. IN NS ns1.parent.com1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +already-exists IN A 6.6.6.6 +ns1 IN A 172.17.42.1 diff --git a/docker/bind9/zones/partition1/shared.hosts b/docker/bind9/zones/partition1/shared.hosts new file mode 100644 index 0000000..5be10b6 --- /dev/null +++ b/docker/bind9/zones/partition1/shared.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +shared1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +shared1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition1/sync-test.hosts b/docker/bind9/zones/partition1/sync-test.hosts new file mode 100644 index 0000000..365b097 --- /dev/null +++ b/docker/bind9/zones/partition1/sync-test.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +sync-test1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +sync-test1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +fqdn.sync-test1. IN A 7.7.7.7 +_sip._tcp IN SRV 10 60 5060 foo.sync-test. +existing.dotted IN A 9.9.9.9 diff --git a/docker/bind9/zones/partition1/system-test-history.hosts b/docker/bind9/zones/partition1/system-test-history.hosts new file mode 100644 index 0000000..6c7c730 --- /dev/null +++ b/docker/bind9/zones/partition1/system-test-history.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +system-test-history1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test-history1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition1/system-test.hosts b/docker/bind9/zones/partition1/system-test.hosts new file mode 100644 index 0000000..0a138f9 --- /dev/null +++ b/docker/bind9/zones/partition1/system-test.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +system-test1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +high-value-domain IN A 1.1.1.1 +high-VALUE-domain-UPPER-CASE IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition1/vinyldns.hosts b/docker/bind9/zones/partition1/vinyldns.hosts new file mode 100644 index 0000000..c5fc44e --- /dev/null +++ b/docker/bind9/zones/partition1/vinyldns.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +vinyldns1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +vinyldns1. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition1/zone.requires.review.hosts b/docker/bind9/zones/partition1/zone.requires.review.hosts new file mode 100644 index 0000000..e1522d7 --- /dev/null +++ b/docker/bind9/zones/partition1/zone.requires.review.hosts @@ -0,0 +1,11 @@ +$ttl 38400 +zone.requires.review1. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +zone.requires.review1. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition2/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition2/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..1aed1cd --- /dev/null +++ b/docker/bind9/zones/partition2/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,12 @@ +$ttl 38400 +0.0.0.1.2.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +0.0.0.1.2.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition2/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition2/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..861e849 --- /dev/null +++ b/docker/bind9/zones/partition2/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,13 @@ +$ttl 38400 +2.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +2.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +0.0.0.1 IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition2/10.10.in-addr.arpa b/docker/bind9/zones/partition2/10.10.in-addr.arpa new file mode 100644 index 0000000..2031c6c --- /dev/null +++ b/docker/bind9/zones/partition2/10.10.in-addr.arpa @@ -0,0 +1,10 @@ +$ttl 38400 +2.10.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +2.10.in-addr.arpa. IN NS 172.17.42.1. +24.0 IN PTR www.vinyl. +25.0 IN PTR mail.vinyl. diff --git a/docker/bind9/zones/partition2/192^30.2.0.192.in-addr.arpa b/docker/bind9/zones/partition2/192^30.2.0.192.in-addr.arpa new file mode 100644 index 0000000..89b539a --- /dev/null +++ b/docker/bind9/zones/partition2/192^30.2.0.192.in-addr.arpa @@ -0,0 +1,11 @@ +$ttl 38400 +192/30.2.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +192/30.2.0.192.in-addr.arpa. IN NS 172.17.42.1. +192 IN PTR portal.vinyldns. +194 IN PTR mail.vinyldns. +195 IN PTR test.vinyldns. diff --git a/docker/bind9/zones/2.0.192.in-addr.arpa b/docker/bind9/zones/partition2/2.0.192.in-addr.arpa similarity index 82% rename from docker/bind9/zones/2.0.192.in-addr.arpa rename to docker/bind9/zones/partition2/2.0.192.in-addr.arpa index 9f4d04e..d81c79f 100644 --- a/docker/bind9/zones/2.0.192.in-addr.arpa +++ b/docker/bind9/zones/partition2/2.0.192.in-addr.arpa @@ -11,3 +11,5 @@ $ttl 38400 193 IN CNAME 193.192/30.2.0.192.in-addr.arpa. 194 IN CNAME 194.192/30.2.0.192.in-addr.arpa. 195 IN CNAME 195.192/30.2.0.192.in-addr.arpa. +253 IN PTR high.value.domain.ip4. +255 IN PTR needs.review.domain.ip4 diff --git a/docker/bind9/zones/partition2/child.parent.com.hosts b/docker/bind9/zones/partition2/child.parent.com.hosts new file mode 100644 index 0000000..a1a1177 --- /dev/null +++ b/docker/bind9/zones/partition2/child.parent.com.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +$ORIGIN child.parent.com2. +@ IN SOA ns1.parent.com2. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +@ IN NS ns1.parent.com2. diff --git a/docker/bind9/zones/partition2/dskey.example.com.hosts b/docker/bind9/zones/partition2/dskey.example.com.hosts new file mode 100644 index 0000000..e35faa9 --- /dev/null +++ b/docker/bind9/zones/partition2/dskey.example.com.hosts @@ -0,0 +1,9 @@ +$TTL 1h +$ORIGIN dskey.example.com2. +@ IN SOA ns1.parent.com2. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dskey.example.com2. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/dummy.hosts b/docker/bind9/zones/partition2/dummy.hosts new file mode 100644 index 0000000..50346d6 --- /dev/null +++ b/docker/bind9/zones/partition2/dummy.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +dummy2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dummy2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +non-approved-delegation IN NS 7.7.7.7 diff --git a/docker/bind9/zones/partition2/example.com.hosts b/docker/bind9/zones/partition2/example.com.hosts new file mode 100644 index 0000000..1fcafb2 --- /dev/null +++ b/docker/bind9/zones/partition2/example.com.hosts @@ -0,0 +1,10 @@ +$TTL 1h +$ORIGIN example.com2. +@ IN SOA ns1.parent.com2. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +example.com2. IN NS 172.17.42.1. +dskey IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/invalid-zone.hosts b/docker/bind9/zones/partition2/invalid-zone.hosts new file mode 100644 index 0000000..b4ba682 --- /dev/null +++ b/docker/bind9/zones/partition2/invalid-zone.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +invalid-zone2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +invalid-zone2. IN NS 172.17.42.1. +invalid-zone2. IN NS not-approved.thing.com. +invalid.child.invalid-zone2. IN NS 172.17.42.1. +dotted.host.invalid-zone2. IN A 1.2.3.4 +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition2/list-records.hosts b/docker/bind9/zones/partition2/list-records.hosts new file mode 100644 index 0000000..6d3b0ac --- /dev/null +++ b/docker/bind9/zones/partition2/list-records.hosts @@ -0,0 +1,38 @@ +$ttl 38400 +list-records2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-records2. IN NS 172.17.42.1. +00-test-list-recordsets-0-A IN A 10.1.1.1 +00-test-list-recordsets-0-A IN A 10.2.2.2 +00-test-list-recordsets-0-CNAME IN CNAME cname1. +00-test-list-recordsets-1-A IN A 10.1.1.1 +00-test-list-recordsets-1-A IN A 10.2.2.2 +00-test-list-recordsets-1-CNAME IN CNAME cname1. +00-test-list-recordsets-2-A IN A 10.1.1.1 +00-test-list-recordsets-2-A IN A 10.2.2.2 +00-test-list-recordsets-2-CNAME IN CNAME cname1. +00-test-list-recordsets-3-A IN A 10.1.1.1 +00-test-list-recordsets-3-A IN A 10.2.2.2 +00-test-list-recordsets-3-CNAME IN CNAME cname1. +00-test-list-recordsets-4-A IN A 10.1.1.1 +00-test-list-recordsets-4-A IN A 10.2.2.2 +00-test-list-recordsets-4-CNAME IN CNAME cname1. +00-test-list-recordsets-5-A IN A 10.1.1.1 +00-test-list-recordsets-5-A IN A 10.2.2.2 +00-test-list-recordsets-5-CNAME IN CNAME cname1. +00-test-list-recordsets-6-A IN A 10.1.1.1 +00-test-list-recordsets-6-A IN A 10.2.2.2 +00-test-list-recordsets-6-CNAME IN CNAME cname1. +00-test-list-recordsets-7-A IN A 10.1.1.1 +00-test-list-recordsets-7-A IN A 10.2.2.2 +00-test-list-recordsets-7-CNAME IN CNAME cname1. +00-test-list-recordsets-8-A IN A 10.1.1.1 +00-test-list-recordsets-8-A IN A 10.2.2.2 +00-test-list-recordsets-8-CNAME IN CNAME cname1. +00-test-list-recordsets-9-A IN A 10.1.1.1 +00-test-list-recordsets-9-A IN A 10.2.2.2 +00-test-list-recordsets-9-CNAME IN CNAME cname1. diff --git a/docker/bind9/zones/partition2/list-zones-test-searched-1.hosts b/docker/bind9/zones/partition2/list-zones-test-searched-1.hosts new file mode 100644 index 0000000..3003157 --- /dev/null +++ b/docker/bind9/zones/partition2/list-zones-test-searched-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-12. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-12. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/list-zones-test-searched-2.hosts b/docker/bind9/zones/partition2/list-zones-test-searched-2.hosts new file mode 100644 index 0000000..475e977 --- /dev/null +++ b/docker/bind9/zones/partition2/list-zones-test-searched-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-22. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-22. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/list-zones-test-searched-3.hosts b/docker/bind9/zones/partition2/list-zones-test-searched-3.hosts new file mode 100644 index 0000000..7539a00 --- /dev/null +++ b/docker/bind9/zones/partition2/list-zones-test-searched-3.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-32. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-32. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/list-zones-test-unfiltered-1.hosts b/docker/bind9/zones/partition2/list-zones-test-unfiltered-1.hosts new file mode 100644 index 0000000..1da508d --- /dev/null +++ b/docker/bind9/zones/partition2/list-zones-test-unfiltered-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-12. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-12. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/list-zones-test-unfiltered-2.hosts b/docker/bind9/zones/partition2/list-zones-test-unfiltered-2.hosts new file mode 100644 index 0000000..dc7931f --- /dev/null +++ b/docker/bind9/zones/partition2/list-zones-test-unfiltered-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-22. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-22. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/non.test.shared.hosts b/docker/bind9/zones/partition2/non.test.shared.hosts new file mode 100644 index 0000000..591b49f --- /dev/null +++ b/docker/bind9/zones/partition2/non.test.shared.hosts @@ -0,0 +1,13 @@ +$ttl 38400 +non.test.shared2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +non.test.shared2. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 +delete-test IN A 4.4.4.4 +update-test IN A 5.5.5.5 diff --git a/docker/bind9/zones/partition2/not.loaded.hosts b/docker/bind9/zones/partition2/not.loaded.hosts new file mode 100644 index 0000000..ffec076 --- /dev/null +++ b/docker/bind9/zones/partition2/not.loaded.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +not.loaded2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +not.loaded2. IN NS 172.17.42.1. +foo IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition2/ok.hosts b/docker/bind9/zones/partition2/ok.hosts new file mode 100644 index 0000000..382a2be --- /dev/null +++ b/docker/bind9/zones/partition2/ok.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +ok2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +ok2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +dotted.a IN A 7.7.7.7 +dottedc.name IN CNAME test.example.com diff --git a/docker/bind9/zones/partition2/old-shared.hosts b/docker/bind9/zones/partition2/old-shared.hosts new file mode 100644 index 0000000..10fb245 --- /dev/null +++ b/docker/bind9/zones/partition2/old-shared.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-shared2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-shared2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition2/old-vinyldns2.hosts b/docker/bind9/zones/partition2/old-vinyldns2.hosts new file mode 100644 index 0000000..25bf673 --- /dev/null +++ b/docker/bind9/zones/partition2/old-vinyldns2.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns22. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns22. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition2/old-vinyldns3.hosts b/docker/bind9/zones/partition2/old-vinyldns3.hosts new file mode 100644 index 0000000..7bc3c40 --- /dev/null +++ b/docker/bind9/zones/partition2/old-vinyldns3.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns32. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns32. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition2/one-time-shared.hosts b/docker/bind9/zones/partition2/one-time-shared.hosts new file mode 100644 index 0000000..b2f69dd --- /dev/null +++ b/docker/bind9/zones/partition2/one-time-shared.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +one-time-shared2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time-shared2. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/one-time.hosts b/docker/bind9/zones/partition2/one-time.hosts new file mode 100644 index 0000000..25a326d --- /dev/null +++ b/docker/bind9/zones/partition2/one-time.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +one-time2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition2/open.hosts b/docker/bind9/zones/partition2/open.hosts new file mode 100644 index 0000000..e7225f2 --- /dev/null +++ b/docker/bind9/zones/partition2/open.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +open2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +open2. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition2/parent.com.hosts b/docker/bind9/zones/partition2/parent.com.hosts new file mode 100644 index 0000000..957a983 --- /dev/null +++ b/docker/bind9/zones/partition2/parent.com.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +$ORIGIN parent.com2. +@ IN SOA ns1.parent.com2. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +parent.com2. IN NS ns1.parent.com2. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +already-exists IN A 6.6.6.6 +ns1 IN A 172.17.42.1 diff --git a/docker/bind9/zones/partition2/shared.hosts b/docker/bind9/zones/partition2/shared.hosts new file mode 100644 index 0000000..a7ca73f --- /dev/null +++ b/docker/bind9/zones/partition2/shared.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +shared2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +shared2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition2/sync-test.hosts b/docker/bind9/zones/partition2/sync-test.hosts new file mode 100644 index 0000000..01260c5 --- /dev/null +++ b/docker/bind9/zones/partition2/sync-test.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +sync-test2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +sync-test2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +fqdn.sync-test2. IN A 7.7.7.7 +_sip._tcp IN SRV 10 60 5060 foo.sync-test. +existing.dotted IN A 9.9.9.9 diff --git a/docker/bind9/zones/partition2/system-test-history.hosts b/docker/bind9/zones/partition2/system-test-history.hosts new file mode 100644 index 0000000..1ddb9ee --- /dev/null +++ b/docker/bind9/zones/partition2/system-test-history.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +system-test-history2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test-history2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition2/system-test.hosts b/docker/bind9/zones/partition2/system-test.hosts new file mode 100644 index 0000000..6918948 --- /dev/null +++ b/docker/bind9/zones/partition2/system-test.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +system-test2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +high-value-domain IN A 1.1.1.1 +high-VALUE-domain-UPPER-CASE IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition2/vinyldns.hosts b/docker/bind9/zones/partition2/vinyldns.hosts new file mode 100644 index 0000000..e934bed --- /dev/null +++ b/docker/bind9/zones/partition2/vinyldns.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +vinyldns2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +vinyldns2. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition2/zone.requires.review.hosts b/docker/bind9/zones/partition2/zone.requires.review.hosts new file mode 100644 index 0000000..90a970f --- /dev/null +++ b/docker/bind9/zones/partition2/zone.requires.review.hosts @@ -0,0 +1,11 @@ +$ttl 38400 +zone.requires.review2. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +zone.requires.review2. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition3/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition3/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..f3f7799 --- /dev/null +++ b/docker/bind9/zones/partition3/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,12 @@ +$ttl 38400 +0.0.0.1.3.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +0.0.0.1.3.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition3/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition3/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..8e97b0d --- /dev/null +++ b/docker/bind9/zones/partition3/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,13 @@ +$ttl 38400 +3.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +3.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +0.0.0.1 IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition3/10.10.in-addr.arpa b/docker/bind9/zones/partition3/10.10.in-addr.arpa new file mode 100644 index 0000000..34fe12f --- /dev/null +++ b/docker/bind9/zones/partition3/10.10.in-addr.arpa @@ -0,0 +1,10 @@ +$ttl 38400 +3.10.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +3.10.in-addr.arpa. IN NS 172.17.42.1. +24.0 IN PTR www.vinyl. +25.0 IN PTR mail.vinyl. diff --git a/docker/bind9/zones/partition3/192^30.2.0.192.in-addr.arpa b/docker/bind9/zones/partition3/192^30.2.0.192.in-addr.arpa new file mode 100644 index 0000000..bcda0b5 --- /dev/null +++ b/docker/bind9/zones/partition3/192^30.2.0.192.in-addr.arpa @@ -0,0 +1,11 @@ +$ttl 38400 +192/30.3.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +192/30.3.0.192.in-addr.arpa. IN NS 172.17.42.1. +192 IN PTR portal.vinyldns. +194 IN PTR mail.vinyldns. +195 IN PTR test.vinyldns. diff --git a/docker/bind9/zones/partition3/2.0.192.in-addr.arpa b/docker/bind9/zones/partition3/2.0.192.in-addr.arpa new file mode 100644 index 0000000..03cb1e7 --- /dev/null +++ b/docker/bind9/zones/partition3/2.0.192.in-addr.arpa @@ -0,0 +1,15 @@ +$ttl 38400 +3.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +3.0.192.in-addr.arpa. IN NS 172.17.42.1. +192/30 IN NS 172.17.42.1. +192 IN CNAME 192.192/30.2.0.192.in-addr.arpa. +193 IN CNAME 193.192/30.2.0.192.in-addr.arpa. +194 IN CNAME 194.192/30.2.0.192.in-addr.arpa. +195 IN CNAME 195.192/30.2.0.192.in-addr.arpa. +253 IN PTR high.value.domain.ip4. +255 IN PTR needs.review.domain.ip4 diff --git a/docker/bind9/zones/partition3/child.parent.com.hosts b/docker/bind9/zones/partition3/child.parent.com.hosts new file mode 100644 index 0000000..5411a81 --- /dev/null +++ b/docker/bind9/zones/partition3/child.parent.com.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +$ORIGIN child.parent.com3. +@ IN SOA ns1.parent.com3. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +@ IN NS ns1.parent.com3. diff --git a/docker/bind9/zones/partition3/dskey.example.com.hosts b/docker/bind9/zones/partition3/dskey.example.com.hosts new file mode 100644 index 0000000..fd759aa --- /dev/null +++ b/docker/bind9/zones/partition3/dskey.example.com.hosts @@ -0,0 +1,9 @@ +$TTL 1h +$ORIGIN dskey.example.com3. +@ IN SOA ns1.parent.com3. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dskey.example.com3. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/dummy.hosts b/docker/bind9/zones/partition3/dummy.hosts new file mode 100644 index 0000000..a79b6a4 --- /dev/null +++ b/docker/bind9/zones/partition3/dummy.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +dummy3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dummy3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +non-approved-delegation IN NS 7.7.7.7 diff --git a/docker/bind9/zones/partition3/example.com.hosts b/docker/bind9/zones/partition3/example.com.hosts new file mode 100644 index 0000000..6eac59f --- /dev/null +++ b/docker/bind9/zones/partition3/example.com.hosts @@ -0,0 +1,10 @@ +$TTL 1h +$ORIGIN example.com3. +@ IN SOA ns1.parent.com3. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +example.com3. IN NS 172.17.42.1. +dskey IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/invalid-zone.hosts b/docker/bind9/zones/partition3/invalid-zone.hosts new file mode 100644 index 0000000..f9063bf --- /dev/null +++ b/docker/bind9/zones/partition3/invalid-zone.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +invalid-zone3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +invalid-zone3. IN NS 172.17.42.1. +invalid-zone3. IN NS not-approved.thing.com. +invalid.child.invalid-zone3. IN NS 172.17.42.1. +dotted.host.invalid-zone3. IN A 1.2.3.4 +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition3/list-records.hosts b/docker/bind9/zones/partition3/list-records.hosts new file mode 100644 index 0000000..48c26a6 --- /dev/null +++ b/docker/bind9/zones/partition3/list-records.hosts @@ -0,0 +1,38 @@ +$ttl 38400 +list-records3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-records3. IN NS 172.17.42.1. +00-test-list-recordsets-0-A IN A 10.1.1.1 +00-test-list-recordsets-0-A IN A 10.2.2.2 +00-test-list-recordsets-0-CNAME IN CNAME cname1. +00-test-list-recordsets-1-A IN A 10.1.1.1 +00-test-list-recordsets-1-A IN A 10.2.2.2 +00-test-list-recordsets-1-CNAME IN CNAME cname1. +00-test-list-recordsets-2-A IN A 10.1.1.1 +00-test-list-recordsets-2-A IN A 10.2.2.2 +00-test-list-recordsets-2-CNAME IN CNAME cname1. +00-test-list-recordsets-3-A IN A 10.1.1.1 +00-test-list-recordsets-3-A IN A 10.2.2.2 +00-test-list-recordsets-3-CNAME IN CNAME cname1. +00-test-list-recordsets-4-A IN A 10.1.1.1 +00-test-list-recordsets-4-A IN A 10.2.2.2 +00-test-list-recordsets-4-CNAME IN CNAME cname1. +00-test-list-recordsets-5-A IN A 10.1.1.1 +00-test-list-recordsets-5-A IN A 10.2.2.2 +00-test-list-recordsets-5-CNAME IN CNAME cname1. +00-test-list-recordsets-6-A IN A 10.1.1.1 +00-test-list-recordsets-6-A IN A 10.2.2.2 +00-test-list-recordsets-6-CNAME IN CNAME cname1. +00-test-list-recordsets-7-A IN A 10.1.1.1 +00-test-list-recordsets-7-A IN A 10.2.2.2 +00-test-list-recordsets-7-CNAME IN CNAME cname1. +00-test-list-recordsets-8-A IN A 10.1.1.1 +00-test-list-recordsets-8-A IN A 10.2.2.2 +00-test-list-recordsets-8-CNAME IN CNAME cname1. +00-test-list-recordsets-9-A IN A 10.1.1.1 +00-test-list-recordsets-9-A IN A 10.2.2.2 +00-test-list-recordsets-9-CNAME IN CNAME cname1. diff --git a/docker/bind9/zones/partition3/list-zones-test-searched-1.hosts b/docker/bind9/zones/partition3/list-zones-test-searched-1.hosts new file mode 100644 index 0000000..5b43f9d --- /dev/null +++ b/docker/bind9/zones/partition3/list-zones-test-searched-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-13. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-13. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/list-zones-test-searched-2.hosts b/docker/bind9/zones/partition3/list-zones-test-searched-2.hosts new file mode 100644 index 0000000..e290445 --- /dev/null +++ b/docker/bind9/zones/partition3/list-zones-test-searched-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-23. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-23. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/list-zones-test-searched-3.hosts b/docker/bind9/zones/partition3/list-zones-test-searched-3.hosts new file mode 100644 index 0000000..1fbd2cd --- /dev/null +++ b/docker/bind9/zones/partition3/list-zones-test-searched-3.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-33. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-33. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/list-zones-test-unfiltered-1.hosts b/docker/bind9/zones/partition3/list-zones-test-unfiltered-1.hosts new file mode 100644 index 0000000..d70b6fd --- /dev/null +++ b/docker/bind9/zones/partition3/list-zones-test-unfiltered-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-13. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-13. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/list-zones-test-unfiltered-2.hosts b/docker/bind9/zones/partition3/list-zones-test-unfiltered-2.hosts new file mode 100644 index 0000000..e3f969a --- /dev/null +++ b/docker/bind9/zones/partition3/list-zones-test-unfiltered-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-23. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-23. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/non.test.shared.hosts b/docker/bind9/zones/partition3/non.test.shared.hosts new file mode 100644 index 0000000..f713033 --- /dev/null +++ b/docker/bind9/zones/partition3/non.test.shared.hosts @@ -0,0 +1,13 @@ +$ttl 38400 +non.test.shared3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +non.test.shared3. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 +delete-test IN A 4.4.4.4 +update-test IN A 5.5.5.5 diff --git a/docker/bind9/zones/partition3/not.loaded.hosts b/docker/bind9/zones/partition3/not.loaded.hosts new file mode 100644 index 0000000..cc50178 --- /dev/null +++ b/docker/bind9/zones/partition3/not.loaded.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +not.loaded3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +not.loaded3. IN NS 172.17.42.1. +foo IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition3/ok.hosts b/docker/bind9/zones/partition3/ok.hosts new file mode 100644 index 0000000..9690ef8 --- /dev/null +++ b/docker/bind9/zones/partition3/ok.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +ok3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +ok3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +dotted.a IN A 7.7.7.7 +dottedc.name IN CNAME test.example.com diff --git a/docker/bind9/zones/partition3/old-shared.hosts b/docker/bind9/zones/partition3/old-shared.hosts new file mode 100644 index 0000000..e30a387 --- /dev/null +++ b/docker/bind9/zones/partition3/old-shared.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-shared3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-shared3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition3/old-vinyldns2.hosts b/docker/bind9/zones/partition3/old-vinyldns2.hosts new file mode 100644 index 0000000..90b8b34 --- /dev/null +++ b/docker/bind9/zones/partition3/old-vinyldns2.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns23. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns23. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition3/old-vinyldns3.hosts b/docker/bind9/zones/partition3/old-vinyldns3.hosts new file mode 100644 index 0000000..04844dc --- /dev/null +++ b/docker/bind9/zones/partition3/old-vinyldns3.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns33. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns33. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition3/one-time-shared.hosts b/docker/bind9/zones/partition3/one-time-shared.hosts new file mode 100644 index 0000000..6bd47a8 --- /dev/null +++ b/docker/bind9/zones/partition3/one-time-shared.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +one-time-shared3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time-shared3. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/one-time.hosts b/docker/bind9/zones/partition3/one-time.hosts new file mode 100644 index 0000000..05b7506 --- /dev/null +++ b/docker/bind9/zones/partition3/one-time.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +one-time3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition3/open.hosts b/docker/bind9/zones/partition3/open.hosts new file mode 100644 index 0000000..3ca4ab7 --- /dev/null +++ b/docker/bind9/zones/partition3/open.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +open3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +open3. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition3/parent.com.hosts b/docker/bind9/zones/partition3/parent.com.hosts new file mode 100644 index 0000000..33b3486 --- /dev/null +++ b/docker/bind9/zones/partition3/parent.com.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +$ORIGIN parent.com3. +@ IN SOA ns1.parent.com3. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +parent.com3. IN NS ns1.parent.com3. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +already-exists IN A 6.6.6.6 +ns1 IN A 172.17.42.1 diff --git a/docker/bind9/zones/partition3/shared.hosts b/docker/bind9/zones/partition3/shared.hosts new file mode 100644 index 0000000..38610bd --- /dev/null +++ b/docker/bind9/zones/partition3/shared.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +shared3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +shared3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition3/sync-test.hosts b/docker/bind9/zones/partition3/sync-test.hosts new file mode 100644 index 0000000..988d2d0 --- /dev/null +++ b/docker/bind9/zones/partition3/sync-test.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +sync-test3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +sync-test3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +fqdn.sync-test3. IN A 7.7.7.7 +_sip._tcp IN SRV 10 60 5060 foo.sync-test. +existing.dotted IN A 9.9.9.9 diff --git a/docker/bind9/zones/partition3/system-test-history.hosts b/docker/bind9/zones/partition3/system-test-history.hosts new file mode 100644 index 0000000..dd13577 --- /dev/null +++ b/docker/bind9/zones/partition3/system-test-history.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +system-test-history3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test-history3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition3/system-test.hosts b/docker/bind9/zones/partition3/system-test.hosts new file mode 100644 index 0000000..eee3f45 --- /dev/null +++ b/docker/bind9/zones/partition3/system-test.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +system-test3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +high-value-domain IN A 1.1.1.1 +high-VALUE-domain-UPPER-CASE IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition3/vinyldns.hosts b/docker/bind9/zones/partition3/vinyldns.hosts new file mode 100644 index 0000000..a890cdb --- /dev/null +++ b/docker/bind9/zones/partition3/vinyldns.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +vinyldns3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +vinyldns3. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition3/zone.requires.review.hosts b/docker/bind9/zones/partition3/zone.requires.review.hosts new file mode 100644 index 0000000..28fa8cd --- /dev/null +++ b/docker/bind9/zones/partition3/zone.requires.review.hosts @@ -0,0 +1,11 @@ +$ttl 38400 +zone.requires.review3. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +zone.requires.review3. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition4/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition4/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..dc4531b --- /dev/null +++ b/docker/bind9/zones/partition4/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,12 @@ +$ttl 38400 +0.0.0.1.4.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +0.0.0.1.4.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition4/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa b/docker/bind9/zones/partition4/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa new file mode 100644 index 0000000..bd78df2 --- /dev/null +++ b/docker/bind9/zones/partition4/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa @@ -0,0 +1,13 @@ +$ttl 38400 +4.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +4.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa. IN NS 172.17.42.1. +0.0.0.1 IN NS 172.17.42.1. +4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.vinyldns. +5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR mail.vinyldns. +0.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR high.value.domain.ip6. +2.0.0.0.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR needs.review.domain.ip6. diff --git a/docker/bind9/zones/partition4/10.10.in-addr.arpa b/docker/bind9/zones/partition4/10.10.in-addr.arpa new file mode 100644 index 0000000..c25fe53 --- /dev/null +++ b/docker/bind9/zones/partition4/10.10.in-addr.arpa @@ -0,0 +1,10 @@ +$ttl 38400 +4.10.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +4.10.in-addr.arpa. IN NS 172.17.42.1. +24.0 IN PTR www.vinyl. +25.0 IN PTR mail.vinyl. diff --git a/docker/bind9/zones/partition4/192^30.2.0.192.in-addr.arpa b/docker/bind9/zones/partition4/192^30.2.0.192.in-addr.arpa new file mode 100644 index 0000000..cd0622f --- /dev/null +++ b/docker/bind9/zones/partition4/192^30.2.0.192.in-addr.arpa @@ -0,0 +1,11 @@ +$ttl 38400 +192/30.4.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +192/30.4.0.192.in-addr.arpa. IN NS 172.17.42.1. +192 IN PTR portal.vinyldns. +194 IN PTR mail.vinyldns. +195 IN PTR test.vinyldns. diff --git a/docker/bind9/zones/partition4/2.0.192.in-addr.arpa b/docker/bind9/zones/partition4/2.0.192.in-addr.arpa new file mode 100644 index 0000000..3763763 --- /dev/null +++ b/docker/bind9/zones/partition4/2.0.192.in-addr.arpa @@ -0,0 +1,15 @@ +$ttl 38400 +4.0.192.in-addr.arpa. IN SOA 172.17.42.1. admin.vinyldns.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +4.0.192.in-addr.arpa. IN NS 172.17.42.1. +192/30 IN NS 172.17.42.1. +192 IN CNAME 192.192/30.2.0.192.in-addr.arpa. +193 IN CNAME 193.192/30.2.0.192.in-addr.arpa. +194 IN CNAME 194.192/30.2.0.192.in-addr.arpa. +195 IN CNAME 195.192/30.2.0.192.in-addr.arpa. +253 IN PTR high.value.domain.ip4. +255 IN PTR needs.review.domain.ip4 diff --git a/docker/bind9/zones/partition4/child.parent.com.hosts b/docker/bind9/zones/partition4/child.parent.com.hosts new file mode 100644 index 0000000..5108704 --- /dev/null +++ b/docker/bind9/zones/partition4/child.parent.com.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +$ORIGIN child.parent.com4. +@ IN SOA ns1.parent.com4. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +@ IN NS ns1.parent.com4. diff --git a/docker/bind9/zones/partition4/dskey.example.com.hosts b/docker/bind9/zones/partition4/dskey.example.com.hosts new file mode 100644 index 0000000..dc31f19 --- /dev/null +++ b/docker/bind9/zones/partition4/dskey.example.com.hosts @@ -0,0 +1,9 @@ +$TTL 1h +$ORIGIN dskey.example.com4. +@ IN SOA ns1.parent.com4. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dskey.example.com4. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/dummy.hosts b/docker/bind9/zones/partition4/dummy.hosts new file mode 100644 index 0000000..518db4e --- /dev/null +++ b/docker/bind9/zones/partition4/dummy.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +dummy4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +dummy4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +non-approved-delegation IN NS 7.7.7.7 diff --git a/docker/bind9/zones/partition4/example.com.hosts b/docker/bind9/zones/partition4/example.com.hosts new file mode 100644 index 0000000..357c435 --- /dev/null +++ b/docker/bind9/zones/partition4/example.com.hosts @@ -0,0 +1,10 @@ +$TTL 1h +$ORIGIN example.com4. +@ IN SOA ns1.parent.com4. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +example.com4. IN NS 172.17.42.1. +dskey IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/invalid-zone.hosts b/docker/bind9/zones/partition4/invalid-zone.hosts new file mode 100644 index 0000000..67ac92d --- /dev/null +++ b/docker/bind9/zones/partition4/invalid-zone.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +invalid-zone4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +invalid-zone4. IN NS 172.17.42.1. +invalid-zone4. IN NS not-approved.thing.com. +invalid.child.invalid-zone4. IN NS 172.17.42.1. +dotted.host.invalid-zone4. IN A 1.2.3.4 +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition4/list-records.hosts b/docker/bind9/zones/partition4/list-records.hosts new file mode 100644 index 0000000..9e2b58f --- /dev/null +++ b/docker/bind9/zones/partition4/list-records.hosts @@ -0,0 +1,38 @@ +$ttl 38400 +list-records4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-records4. IN NS 172.17.42.1. +00-test-list-recordsets-0-A IN A 10.1.1.1 +00-test-list-recordsets-0-A IN A 10.2.2.2 +00-test-list-recordsets-0-CNAME IN CNAME cname1. +00-test-list-recordsets-1-A IN A 10.1.1.1 +00-test-list-recordsets-1-A IN A 10.2.2.2 +00-test-list-recordsets-1-CNAME IN CNAME cname1. +00-test-list-recordsets-2-A IN A 10.1.1.1 +00-test-list-recordsets-2-A IN A 10.2.2.2 +00-test-list-recordsets-2-CNAME IN CNAME cname1. +00-test-list-recordsets-3-A IN A 10.1.1.1 +00-test-list-recordsets-3-A IN A 10.2.2.2 +00-test-list-recordsets-3-CNAME IN CNAME cname1. +00-test-list-recordsets-4-A IN A 10.1.1.1 +00-test-list-recordsets-4-A IN A 10.2.2.2 +00-test-list-recordsets-4-CNAME IN CNAME cname1. +00-test-list-recordsets-5-A IN A 10.1.1.1 +00-test-list-recordsets-5-A IN A 10.2.2.2 +00-test-list-recordsets-5-CNAME IN CNAME cname1. +00-test-list-recordsets-6-A IN A 10.1.1.1 +00-test-list-recordsets-6-A IN A 10.2.2.2 +00-test-list-recordsets-6-CNAME IN CNAME cname1. +00-test-list-recordsets-7-A IN A 10.1.1.1 +00-test-list-recordsets-7-A IN A 10.2.2.2 +00-test-list-recordsets-7-CNAME IN CNAME cname1. +00-test-list-recordsets-8-A IN A 10.1.1.1 +00-test-list-recordsets-8-A IN A 10.2.2.2 +00-test-list-recordsets-8-CNAME IN CNAME cname1. +00-test-list-recordsets-9-A IN A 10.1.1.1 +00-test-list-recordsets-9-A IN A 10.2.2.2 +00-test-list-recordsets-9-CNAME IN CNAME cname1. diff --git a/docker/bind9/zones/partition4/list-zones-test-searched-1.hosts b/docker/bind9/zones/partition4/list-zones-test-searched-1.hosts new file mode 100644 index 0000000..08f2def --- /dev/null +++ b/docker/bind9/zones/partition4/list-zones-test-searched-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-14. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-14. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/list-zones-test-searched-2.hosts b/docker/bind9/zones/partition4/list-zones-test-searched-2.hosts new file mode 100644 index 0000000..eac40d7 --- /dev/null +++ b/docker/bind9/zones/partition4/list-zones-test-searched-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-24. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-24. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/list-zones-test-searched-3.hosts b/docker/bind9/zones/partition4/list-zones-test-searched-3.hosts new file mode 100644 index 0000000..418d828 --- /dev/null +++ b/docker/bind9/zones/partition4/list-zones-test-searched-3.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-searched-34. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-searched-34. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/list-zones-test-unfiltered-1.hosts b/docker/bind9/zones/partition4/list-zones-test-unfiltered-1.hosts new file mode 100644 index 0000000..4b68e3b --- /dev/null +++ b/docker/bind9/zones/partition4/list-zones-test-unfiltered-1.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-14. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-14. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/list-zones-test-unfiltered-2.hosts b/docker/bind9/zones/partition4/list-zones-test-unfiltered-2.hosts new file mode 100644 index 0000000..3f93f61 --- /dev/null +++ b/docker/bind9/zones/partition4/list-zones-test-unfiltered-2.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +list-zones-test-unfiltered-24. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +list-zones-test-unfiltered-24. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/non.test.shared.hosts b/docker/bind9/zones/partition4/non.test.shared.hosts new file mode 100644 index 0000000..180a85f --- /dev/null +++ b/docker/bind9/zones/partition4/non.test.shared.hosts @@ -0,0 +1,13 @@ +$ttl 38400 +non.test.shared4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +non.test.shared4. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 +delete-test IN A 4.4.4.4 +update-test IN A 5.5.5.5 diff --git a/docker/bind9/zones/partition4/not.loaded.hosts b/docker/bind9/zones/partition4/not.loaded.hosts new file mode 100644 index 0000000..510738a --- /dev/null +++ b/docker/bind9/zones/partition4/not.loaded.hosts @@ -0,0 +1,9 @@ +$ttl 38400 +not.loaded4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +not.loaded4. IN NS 172.17.42.1. +foo IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition4/ok.hosts b/docker/bind9/zones/partition4/ok.hosts new file mode 100644 index 0000000..ff6b2e9 --- /dev/null +++ b/docker/bind9/zones/partition4/ok.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +ok4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +ok4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +dotted.a IN A 7.7.7.7 +dottedc.name IN CNAME test.example.com diff --git a/docker/bind9/zones/partition4/old-shared.hosts b/docker/bind9/zones/partition4/old-shared.hosts new file mode 100644 index 0000000..84a6666 --- /dev/null +++ b/docker/bind9/zones/partition4/old-shared.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-shared4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-shared4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition4/old-vinyldns2.hosts b/docker/bind9/zones/partition4/old-vinyldns2.hosts new file mode 100644 index 0000000..05ae0ff --- /dev/null +++ b/docker/bind9/zones/partition4/old-vinyldns2.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns24. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns24. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition4/old-vinyldns3.hosts b/docker/bind9/zones/partition4/old-vinyldns3.hosts new file mode 100644 index 0000000..633881d --- /dev/null +++ b/docker/bind9/zones/partition4/old-vinyldns3.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +old-vinyldns34. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +old-vinyldns34. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition4/one-time-shared.hosts b/docker/bind9/zones/partition4/one-time-shared.hosts new file mode 100644 index 0000000..156cee3 --- /dev/null +++ b/docker/bind9/zones/partition4/one-time-shared.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +one-time-shared4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time-shared4. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/one-time.hosts b/docker/bind9/zones/partition4/one-time.hosts new file mode 100644 index 0000000..e62427e --- /dev/null +++ b/docker/bind9/zones/partition4/one-time.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +one-time4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +one-time4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition4/open.hosts b/docker/bind9/zones/partition4/open.hosts new file mode 100644 index 0000000..7870b2d --- /dev/null +++ b/docker/bind9/zones/partition4/open.hosts @@ -0,0 +1,8 @@ +$ttl 38400 +open4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +open4. IN NS 172.17.42.1. diff --git a/docker/bind9/zones/partition4/parent.com.hosts b/docker/bind9/zones/partition4/parent.com.hosts new file mode 100644 index 0000000..2d47b27 --- /dev/null +++ b/docker/bind9/zones/partition4/parent.com.hosts @@ -0,0 +1,15 @@ +$ttl 38400 +$ORIGIN parent.com4. +@ IN SOA ns1.parent.com4. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +parent.com4. IN NS ns1.parent.com4. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +already-exists IN A 6.6.6.6 +ns1 IN A 172.17.42.1 diff --git a/docker/bind9/zones/partition4/shared.hosts b/docker/bind9/zones/partition4/shared.hosts new file mode 100644 index 0000000..c4b9a4c --- /dev/null +++ b/docker/bind9/zones/partition4/shared.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +shared4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +shared4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/bind9/zones/partition4/sync-test.hosts b/docker/bind9/zones/partition4/sync-test.hosts new file mode 100644 index 0000000..a014733 --- /dev/null +++ b/docker/bind9/zones/partition4/sync-test.hosts @@ -0,0 +1,17 @@ +$ttl 38400 +sync-test4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +sync-test4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +fqdn.sync-test4. IN A 7.7.7.7 +_sip._tcp IN SRV 10 60 5060 foo.sync-test. +existing.dotted IN A 9.9.9.9 diff --git a/docker/bind9/zones/partition4/system-test-history.hosts b/docker/bind9/zones/partition4/system-test-history.hosts new file mode 100644 index 0000000..d72deaf --- /dev/null +++ b/docker/bind9/zones/partition4/system-test-history.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +system-test-history4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test-history4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition4/system-test.hosts b/docker/bind9/zones/partition4/system-test.hosts new file mode 100644 index 0000000..877aa93 --- /dev/null +++ b/docker/bind9/zones/partition4/system-test.hosts @@ -0,0 +1,16 @@ +$ttl 38400 +system-test4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +system-test4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 +high-value-domain IN A 1.1.1.1 +high-VALUE-domain-UPPER-CASE IN A 1.1.1.1 diff --git a/docker/bind9/zones/partition4/vinyldns.hosts b/docker/bind9/zones/partition4/vinyldns.hosts new file mode 100644 index 0000000..66d785b --- /dev/null +++ b/docker/bind9/zones/partition4/vinyldns.hosts @@ -0,0 +1,14 @@ +$ttl 38400 +vinyldns4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +vinyldns4. IN NS 172.17.42.1. +jenkins IN A 10.1.1.1 +foo IN A 2.2.2.2 +test IN A 3.3.3.3 +test IN A 4.4.4.4 +@ IN A 5.5.5.5 +already-exists IN A 6.6.6.6 diff --git a/docker/bind9/zones/partition4/zone.requires.review.hosts b/docker/bind9/zones/partition4/zone.requires.review.hosts new file mode 100644 index 0000000..4879ca5 --- /dev/null +++ b/docker/bind9/zones/partition4/zone.requires.review.hosts @@ -0,0 +1,11 @@ +$ttl 38400 +zone.requires.review4. IN SOA 172.17.42.1. admin.test.com. ( + 1439234395 + 10800 + 3600 + 604800 + 38400 ) +zone.requires.review4. IN NS 172.17.42.1. +@ IN A 1.1.1.1 +delete-test-batch IN A 2.2.2.2 +update-test-batch IN A 3.3.3.3 diff --git a/docker/conf/application.conf b/docker/conf/application.conf index e040152..16bd147 100644 --- a/docker/conf/application.conf +++ b/docker/conf/application.conf @@ -4,31 +4,29 @@ vinyldns { queue { - class-name = "vinyldns.mysql.queue.MySqlMessageQueueProvider" - polling-interval = 250.millis - messages-per-poll = 10 + class-name = "vinyldns.sqs.queue.SqsMessageQueueProvider" - settings = { - name = "vinyldns" - driver = "org.mariadb.jdbc.Driver" - migration-url = "jdbc:mariadb://vinyldns-mysql:3306/?user=root&password=pass" - url = "jdbc:mariadb://vinyldns-mysql:3306/vinyldns?user=root&password=pass" - user = "root" - password = "pass" + messages-per-poll = 10 + polling-interval = 250.millis - # see https://github.com/brettwooldridge/HikariCP - connection-timeout-millis = 1000 - idle-timeout = 10000 - max-lifetime = 30000 - maximum-pool-size = 5 - minimum-idle = 0 - - my-sql-properties = { - cachePrepStmts=true - prepStmtCacheSize=250 - prepStmtCacheSqlLimit=2048 - rewriteBatchedStatements=true - } + settings { + # AWS access key and secret. + access-key = "test" + access-key = ${?AWS_ACCESS_KEY} + secret-key = "test" + secret-key = ${?AWS_SECRET_ACCESS_KEY} + + # Regional endpoint to make your requests (eg. 'us-west-2', 'us-east-1', etc.). This is the region where your queue is housed. + signing-region = "us-east-1" + signing-region = ${?SQS_REGION} + + # Endpoint to access queue + service-endpoint = "http://localhost:19003/" + service-endpoint = ${?SQS_SERVICE_ENDPOINT} + + # Queue name. Should be used in conjunction with service endpoint, rather than using a queue url which is subject to change. + queue-name = "vinyldns" + queue-name = ${?SQS_QUEUE_NAME} } } @@ -54,8 +52,8 @@ vinyldns { settings { name = "vinyldns" driver = "org.mariadb.jdbc.Driver" - migration-url = "jdbc:mariadb://vinyldns-mysql:3306/?user=root&password=pass" - url = "jdbc:mariadb://vinyldns-mysql:3306/vinyldns?user=root&password=pass" + migration-url = ${?JDBC_MIGRATION_URL} + url = ${?JDBC_MIGRATION_URL} user = "root" password = "pass" @@ -160,4 +158,4 @@ akka.http { # akka-http doesn't like the AWS4 headers illegal-header-warnings = on } -} +} \ No newline at end of file diff --git a/docker/docker-compose-build.yml b/docker/docker-compose-build.yml index b998594..644f02e 100644 --- a/docker/docker-compose-build.yml +++ b/docker/docker-compose-build.yml @@ -1,31 +1,33 @@ version: "3.0" services: - mysql: - image: "mysql:5.7" + integration: + container_name: "vinyldns-api-integration" + hostname: "vinyldns-integration" + image: "vinyldns/build:base-test-integration-latest" environment: - - MYSQL_ROOT_PASSWORD=pass - - MYSQL_ROOT_HOST=% - container_name: "vinyldns-mysql" + RUN_SERVICES: "tail-logs all" + env_file: + - "${ENV_FILE:-.env}" ports: - - "19002:3306" - - bind9: - image: "vinyldns/bind9:0.0.4" - container_name: "vinyldns-bind9" - ports: - - "19001:53/udp" - - "19001:53" + - "19001-19003:19001-19003/tcp" + - "19001:19001/udp" + command: bash -c "cp -R /app/bind9/etc/named.conf.* /etc/bind/ && cp -R /app/bind9/zones/* /var/bind/ && named-checkconf" volumes: - - ./bind9/etc:/var/cache/bind/config - - ./bind9/zones:/var/cache/bind/zones + - ./bind9:/app/bind9 api: - image: "vinyldns/api:0.9.4-SNAPSHOT" + image: "vinyldns/api:latest" container_name: "vinyldns-api" ports: - "9000:9000" depends_on: - - mysql - - bind9 + - integration + env_file: + - "${ENV_FILE:-.env}" volumes: - "./conf:/opt/docker/conf" + +networks: + default: + name: "vinyldns_net" + external: true \ No newline at end of file diff --git a/func_tests/test_client.py b/func_tests/test_client.py index 38ac26f..650c2db 100644 --- a/func_tests/test_client.py +++ b/func_tests/test_client.py @@ -153,3 +153,17 @@ def test_batch_change_review_process_approve(vinyldns_test_context): assert completed_bc.reviewer_id == 'support-user-id' assert completed_bc.reviewer_user_name == 'support-user' assert completed_bc.review_comment == 'all good!' + +def test_list_abandoned_zones(vinyldns_test_context): + vinyldns_test_context.clear_zones() + list_abandoned_zones = vinyldns_test_context.client.list_abandoned_zones() + assert len(list_abandoned_zones.deleted_zone_changes) > 0 + assert list_abandoned_zones.max_items > 0 + abandoned_zone = [x for x in list_abandoned_zones.deleted_zone_changes][0] + assert abandoned_zone is not None + assert abandoned_zone.zone_changes.zone.name == vinyldns_test_context.zone.name + assert abandoned_zone.zone_changes.zone.email == vinyldns_test_context.zone.email + assert abandoned_zone.zone_changes.zone.admin_group_id == vinyldns_test_context.zone.admin_group_id + assert abandoned_zone.zone_changes.zone.id is not None + assert abandoned_zone.zone_changes.zone.created is not None + assert abandoned_zone.zone_changes.zone.status == 'Deleted' diff --git a/src/vinyldns/client.py b/src/vinyldns/client.py index 88240af..6992478 100644 --- a/src/vinyldns/client.py +++ b/src/vinyldns/client.py @@ -35,7 +35,7 @@ from vinyldns.membership import Group, ListGroupsResponse, ListGroupChangesResponse, ListMembersResponse, \ ListAdminsResponse from vinyldns.serdes import to_json_string -from vinyldns.zone import ListZonesResponse, ListZoneChangesResponse, Zone, ZoneChange +from vinyldns.zone import ListZonesResponse, ListZoneChangesResponse, Zone, ZoneChange, ListAbandonedZonesResponse from vinyldns.record import ListRecordSetsResponse, ListRecordSetChangesResponse, RecordSet, RecordSetChange try: @@ -491,6 +491,30 @@ def list_zones(self, name_filter=None, start_from=None, max_items=None, **kwargs response, data = self.__make_request(url, u'GET', self.headers, **kwargs) return ListZonesResponse.from_dict(data) + def list_abandoned_zones(self, name_filter=None, start_from=None, max_items=None, **kwargs): + """ + Get a list of abandoned zones that currently exist. + + :return: a list of abandoned zones + """ + url = urljoin(self.index_url, u'/zones/deleted/changes') + + query = [] + if name_filter: + query.append(u'zoneChangeFilter=' + name_filter) + + if start_from: + query.append(u'startFrom=' + str(start_from)) + + if max_items: + query.append(u'maxItems=' + str(max_items)) + + if query: + url = url + u'?' + u'&'.join(query) + + response, data = self.__make_request(url, u'GET', self.headers, **kwargs) + return ListAbandonedZonesResponse.from_dict(data) + def create_record_set(self, record_set, **kwargs): """ Create a new record_set. diff --git a/src/vinyldns/zone.py b/src/vinyldns/zone.py index 8e71428..483c42e 100644 --- a/src/vinyldns/zone.py +++ b/src/vinyldns/zone.py @@ -119,6 +119,39 @@ def from_dict(d): return ListZonesResponse(zones=zones, name_filter=d.get('nameFilter'), start_from=d.get('startFrom'), next_id=d.get('nextId'), max_items=d.get('maxItems', 100)) +class ListAbandonedZonesResponse(object): + def __init__(self, deleted_zone_changes, name_filter, start_from=None, next_id=None, max_items=100): + self.deleted_zone_changes = deleted_zone_changes + self.name_filter = name_filter + self.start_from = start_from + self.next_id = next_id + self.max_items = max_items + + @staticmethod + def from_dict(d): + deleted_zone_changes =[ZonesDeletedInfo.from_dict(elem) for elem in d.get('zonesDeletedInfo', [])] + return ListAbandonedZonesResponse( + deleted_zone_changes=deleted_zone_changes, + name_filter=d.get('zoneChangeFilter'), + start_from=d.get('startFrom'), + next_id=d.get('nextId'), + max_items=d.get('maxItems', 100)) + +class ZonesDeletedInfo(object): + def __init__(self, zone_changes, admin_group_name, user_name, access_level): + self.zone_changes = zone_changes + self.admin_group_name = admin_group_name + self.user_name = user_name + self.access_level = access_level + + @staticmethod + def from_dict(d): + zone_changes = ZoneChange.from_dict(d['zoneChange']) + return ZonesDeletedInfo( + zone_changes=zone_changes, + admin_group_name=d['adminGroupName'], + user_name=d['userName'], + access_level=d['accessLevel']) class ZoneChange(object): def __init__(self, zone, user_id, change_type, status, created, system_message, id): diff --git a/tests/sampledata.py b/tests/sampledata.py index 7f0720f..a8fb84c 100644 --- a/tests/sampledata.py +++ b/tests/sampledata.py @@ -32,6 +32,9 @@ sample_zone_change = ZoneChange(zone=forward_zone, user_id='some-user', change_type='Create', status='Pending', created=datetime.utcnow(), system_message=None, id='zone-change-id') +abondonded_zone = Zone(id='foo', name='bar', email='test@test.com',status="Deleted", admin_group_id='foo', connection=conn, + transfer_connection=conn, acl=ZoneACL([acl_rule])) + record_sets = { RecordType.A: RecordSet(forward_zone.id, 'a-test', RecordType.A, 200, records=[AData('1.2.3.4')], owner_group_id='owner-group-id'), diff --git a/tests/test_zones.py b/tests/test_zones.py index 3682b81..a09dfd4 100644 --- a/tests/test_zones.py +++ b/tests/test_zones.py @@ -18,9 +18,9 @@ import responses -from sampledata import acl_rule, forward_zone, ip4_zone, ip6_zone, sample_zone_change +from sampledata import acl_rule, forward_zone, ip4_zone, ip6_zone, sample_zone_change, abondonded_zone from vinyldns.serdes import to_json_string, from_json_string -from vinyldns.zone import Zone, ZoneChange, ListZonesResponse, ListZoneChangesResponse +from vinyldns.zone import Zone, ZoneChange, ListZonesResponse, ListZoneChangesResponse, ZonesDeletedInfo, ListAbandonedZonesResponse def check_zone_connections_are_same(a, b): @@ -167,3 +167,26 @@ def test_delete_acl_rule(mocked_responses, vinyldns_client): ) r = vinyldns_client.delete_zone_acl_rule(forward_zone.id, acl_rule) check_zones_are_same(r.zone, sample_zone_change.zone) + +def test_list_abandoned_zone(mocked_responses, vinyldns_client): + sample_abondonded_zone_change = [ZonesDeletedInfo(zone_changes = ZoneChange(zone=abondonded_zone, user_id='some-user', change_type='Create', status='Pending', + created=datetime.utcnow(), system_message=None, id='zone-change-id'), + admin_group_name = 'some-group-name', user_name = 'some-user-name', access_level = 'delete')] + + ldzc = ListAbandonedZonesResponse(deleted_zone_changes=sample_abondonded_zone_change, name_filter='*', next_id= 'next', start_from= 'start', max_items=100) + mocked_responses.add( + responses.GET, 'http://test.com/zones/deleted/changes?zoneChangeFilter=*&startFrom=start&maxItems=100', + body=to_json_string(ldzc), status=200 + ) + + r = vinyldns_client.list_abandoned_zones('*', 'start', 100) + assert r.start_from == ldzc.start_from + assert r.next_id == ldzc.next_id + assert r.max_items == ldzc.max_items + for l, r in zip(ldzc.deleted_zone_changes, r.deleted_zone_changes): + assert l.zone_changes.id == r.zone_changes.id + assert l.user_name == r.user_name + assert l.access_level == r.access_level + assert l.admin_group_name == r.admin_group_name + assert l.zone_changes.zone.status == r.zone_changes.zone.status + check_zones_are_same(l.zone_changes.zone, r.zone_changes.zone) \ No newline at end of file