From 5d936fd145401153f45e22edcfa6d06c5c08a1d2 Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Fri, 16 Feb 2024 18:20:18 +0530 Subject: [PATCH 1/9] added abandoned zones api --- src/vinyldns/client.py | 26 +++++++++++++++++++++++++- src/vinyldns/zone.py | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/src/vinyldns/client.py b/src/vinyldns/client.py index 88240af..0ea6d6d 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'nameFilter=' + 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..bd966ed 100644 --- a/src/vinyldns/zone.py +++ b/src/vinyldns/zone.py @@ -119,6 +119,31 @@ 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 =[ZoneChangeInfo.from_dict(elem) for elem in d.get('zonesDeletedInfo', [])] + return ListAbandonedZonesResponse(deleted_zone_changes=deleted_zone_changes, name_filter=d.get('nameFilter'), start_from=d.get('startFrom'), + next_id=d.get('nextId'), max_items=d.get('maxItems', 100)) + +class ZoneChangeInfo(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 ZoneChangeInfo(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): From 1a79f981b64e3743df0eb70c601353981cd32366 Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Mon, 19 Feb 2024 18:52:57 +0530 Subject: [PATCH 2/9] added tests --- func_tests/test_client.py | 13 +++++++++++++ tests/sampledata.py | 3 +++ tests/test_zones.py | 26 ++++++++++++++++++++++++-- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/func_tests/test_client.py b/func_tests/test_client.py index 38ac26f..879d027 100644 --- a/func_tests/test_client.py +++ b/func_tests/test_client.py @@ -153,3 +153,16 @@ 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): + list_abandoned_zones = vinyldns_test_context.client.list_abandoned_zones() + assert len(list_abandoned_zones.zones) > 0 + assert list_abandoned_zones.max_items > 0 + abandoned_zone = [x for x in list_abandoned_zones.zones if x.name == vinyldns_test_context.zone.name][0] + assert abandoned_zone is not None + assert abandoned_zone.name == vinyldns_test_context.zone.name + assert abandoned_zone.email == vinyldns_test_context.zone.email + assert abandoned_zone.admin_group_id == vinyldns_test_context.zone.admin_group_id + assert abandoned_zone.id is not None + assert abandoned_zone.created is not None + 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..b7e948c 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, ZoneChangeInfo, ListAbandonedZonesResponse def check_zone_connections_are_same(a, b): @@ -167,3 +167,25 @@ 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 = ZoneChangeInfo(ZoneChange = 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') + + lzcr = ListAbandonedZonesResponse([sample_abondonded_zone_change], 'next', 'start', 100) + mocked_responses.add( + responses.GET, 'http://test.com/zones/deleted/changes?startFrom=start&maxItems=100', + body=to_json_string(lzcr), status=200 + ) + r = vinyldns_client.list_abandoned_zones('*', 'start', 100) + assert r.start_from == lzcr.start_from + assert r.next_id == lzcr.next_id + assert r.max_items == lzcr.max_items + for l, r in zip(lzcr.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, r.zone_changes) \ No newline at end of file From 59400103b338a587b7893e6a1780ee86cfccd46a Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Tue, 20 Feb 2024 15:27:03 +0530 Subject: [PATCH 3/9] update --- tests/test_zones.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_zones.py b/tests/test_zones.py index b7e948c..6aaa520 100644 --- a/tests/test_zones.py +++ b/tests/test_zones.py @@ -173,16 +173,16 @@ def test_list_abandoned_zone(mocked_responses, vinyldns_client): created=datetime.utcnow(), system_message=None, id='zone-change-id'), admin_group_name = 'some-group-name', user_name = 'some-user-name', access_level = 'delete') - lzcr = ListAbandonedZonesResponse([sample_abondonded_zone_change], 'next', 'start', 100) + lazr = ListAbandonedZonesResponse([sample_abondonded_zone_change], 'next', 'start', 100) mocked_responses.add( responses.GET, 'http://test.com/zones/deleted/changes?startFrom=start&maxItems=100', - body=to_json_string(lzcr), status=200 + body=to_json_string(lazr), status=200 ) r = vinyldns_client.list_abandoned_zones('*', 'start', 100) - assert r.start_from == lzcr.start_from - assert r.next_id == lzcr.next_id - assert r.max_items == lzcr.max_items - for l, r in zip(lzcr.deleted_zone_changes, r.deleted_zone_changes): + assert r.start_from == lazr.start_from + assert r.next_id == lazr.next_id + assert r.max_items == lazr.max_items + for l, r in zip(lazr.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 From 44f6fa390520dd23738903df32b4a082225449ed Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Fri, 23 Feb 2024 15:59:03 +0530 Subject: [PATCH 4/9] updated tests --- src/vinyldns/client.py | 2 +- src/vinyldns/zone.py | 21 +++++++++++++++------ tests/test_zones.py | 25 ++++++++++++++----------- 3 files changed, 30 insertions(+), 18 deletions(-) diff --git a/src/vinyldns/client.py b/src/vinyldns/client.py index 0ea6d6d..6992478 100644 --- a/src/vinyldns/client.py +++ b/src/vinyldns/client.py @@ -501,7 +501,7 @@ def list_abandoned_zones(self, name_filter=None, start_from=None, max_items=None query = [] if name_filter: - query.append(u'nameFilter=' + name_filter) + query.append(u'zoneChangeFilter=' + name_filter) if start_from: query.append(u'startFrom=' + str(start_from)) diff --git a/src/vinyldns/zone.py b/src/vinyldns/zone.py index bd966ed..780921d 100644 --- a/src/vinyldns/zone.py +++ b/src/vinyldns/zone.py @@ -129,11 +129,16 @@ def __init__(self, deleted_zone_changes, name_filter, start_from=None, next_id=N @staticmethod def from_dict(d): - deleted_zone_changes =[ZoneChangeInfo.from_dict(elem) for elem in d.get('zonesDeletedInfo', [])] - return ListAbandonedZonesResponse(deleted_zone_changes=deleted_zone_changes, name_filter=d.get('nameFilter'), start_from=d.get('startFrom'), - next_id=d.get('nextId'), max_items=d.get('maxItems', 100)) - -class ZoneChangeInfo(object): + deleted_zone_changes =[ZonesDeletedInfo.from_dict(elem) for elem in d.get('zonesDeletedInfo', [])] + print("deleted_zone_changes",deleted_zone_changes) + 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 @@ -143,7 +148,11 @@ def __init__(self, zone_changes, admin_group_name, user_name, access_level): @staticmethod def from_dict(d): zone_changes = ZoneChange.from_dict(d['zoneChange']) - return ZoneChangeInfo(zone_changes=zone_changes, admin_group_name=d['adminGroupName'], user_name=d['userName'], access_level=d['accessLevel']) + 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/test_zones.py b/tests/test_zones.py index 6aaa520..512fdac 100644 --- a/tests/test_zones.py +++ b/tests/test_zones.py @@ -20,7 +20,7 @@ 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, ZoneChangeInfo, ListAbandonedZonesResponse +from vinyldns.zone import Zone, ZoneChange, ListZonesResponse, ListZoneChangesResponse, ZonesDeletedInfo, ListAbandonedZonesResponse def check_zone_connections_are_same(a, b): @@ -169,23 +169,26 @@ def test_delete_acl_rule(mocked_responses, vinyldns_client): check_zones_are_same(r.zone, sample_zone_change.zone) def test_list_abandoned_zone(mocked_responses, vinyldns_client): - sample_abondonded_zone_change = ZoneChangeInfo(ZoneChange = ZoneChange(zone=abondonded_zone, user_id='some-user', change_type='Create', status='Pending', + 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') + admin_group_name = 'some-group-name', user_name = 'some-user-name', access_level = 'delete')] - lazr = ListAbandonedZonesResponse([sample_abondonded_zone_change], 'next', 'start', 100) + 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?startFrom=start&maxItems=100', - body=to_json_string(lazr), status=200 + 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 == lazr.start_from - assert r.next_id == lazr.next_id - assert r.max_items == lazr.max_items - for l, r in zip(lazr.deleted_zone_changes, r.deleted_zone_changes): + print("lzcr" ,ldzc.deleted_zone_changes[0].zone_changes.id, "r", r.deleted_zone_changes) + 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): + print("l" ,l.zone_changes, "r", r.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, r.zone_changes) \ No newline at end of file + check_zones_are_same(l.zone_changes.zone, r.zone_changes.zone) \ No newline at end of file From 2929fe0836c74f5653fc3ebb6fd8ede0d200f925 Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Mon, 26 Feb 2024 22:53:03 +0530 Subject: [PATCH 5/9] updated functional tests --- docker/docker-compose-build.yml | 2 +- func_tests/test_client.py | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docker/docker-compose-build.yml b/docker/docker-compose-build.yml index b998594..e1e7446 100644 --- a/docker/docker-compose-build.yml +++ b/docker/docker-compose-build.yml @@ -20,7 +20,7 @@ services: - ./bind9/zones:/var/cache/bind/zones api: - image: "vinyldns/api:0.9.4-SNAPSHOT" + image: "vinyldns/api:latest" container_name: "vinyldns-api" ports: - "9000:9000" diff --git a/func_tests/test_client.py b/func_tests/test_client.py index 879d027..650c2db 100644 --- a/func_tests/test_client.py +++ b/func_tests/test_client.py @@ -155,14 +155,15 @@ def test_batch_change_review_process_approve(vinyldns_test_context): 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.zones) > 0 + 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.zones if x.name == vinyldns_test_context.zone.name][0] + abandoned_zone = [x for x in list_abandoned_zones.deleted_zone_changes][0] assert abandoned_zone is not None - assert abandoned_zone.name == vinyldns_test_context.zone.name - assert abandoned_zone.email == vinyldns_test_context.zone.email - assert abandoned_zone.admin_group_id == vinyldns_test_context.zone.admin_group_id - assert abandoned_zone.id is not None - assert abandoned_zone.created 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' From f7bbb7e46c71a974af885f36a1580f3be36c9f93 Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Tue, 27 Feb 2024 10:47:35 +0530 Subject: [PATCH 6/9] update --- src/vinyldns/zone.py | 1 - tests/test_zones.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/vinyldns/zone.py b/src/vinyldns/zone.py index 780921d..483c42e 100644 --- a/src/vinyldns/zone.py +++ b/src/vinyldns/zone.py @@ -130,7 +130,6 @@ def __init__(self, deleted_zone_changes, name_filter, start_from=None, next_id=N @staticmethod def from_dict(d): deleted_zone_changes =[ZonesDeletedInfo.from_dict(elem) for elem in d.get('zonesDeletedInfo', [])] - print("deleted_zone_changes",deleted_zone_changes) return ListAbandonedZonesResponse( deleted_zone_changes=deleted_zone_changes, name_filter=d.get('zoneChangeFilter'), diff --git a/tests/test_zones.py b/tests/test_zones.py index 512fdac..a09dfd4 100644 --- a/tests/test_zones.py +++ b/tests/test_zones.py @@ -180,12 +180,10 @@ def test_list_abandoned_zone(mocked_responses, vinyldns_client): ) r = vinyldns_client.list_abandoned_zones('*', 'start', 100) - print("lzcr" ,ldzc.deleted_zone_changes[0].zone_changes.id, "r", r.deleted_zone_changes) 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): - print("l" ,l.zone_changes, "r", r.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 From a7d9fa4517f1ee2f094c89e4fad26164cec8f1f5 Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Thu, 29 Feb 2024 22:01:04 +0530 Subject: [PATCH 7/9] updated docker compose based on the lastest vinyldns api --- .../bind9/etc/_template/named.partition.conf | 186 ++++++++++ docker/bind9/etc/named.conf.default | 162 +++++++++ docker/bind9/etc/named.conf.local | 57 ++- docker/bind9/etc/named.conf.partition1 | 186 ++++++++++ docker/bind9/etc/named.conf.partition2 | 186 ++++++++++ docker/bind9/etc/named.conf.partition3 | 186 ++++++++++ docker/bind9/etc/named.conf.partition4 | 186 ++++++++++ .../0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 12 + .../1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 13 + .../bind9/zones/_template/10.10.in-addr.arpa | 10 + .../_template/192^30.2.0.192.in-addr.arpa | 11 + .../zones/_template/2.0.192.in-addr.arpa | 15 + .../zones/_template/child.parent.com.hosts | 9 + .../zones/_template/dskey.example.com.hosts | 9 + .../dummy.hosts} | 8 +- .../bind9/zones/_template/example.com.hosts | 10 + .../bind9/zones/_template/invalid-zone.hosts | 17 + .../bind9/zones/_template/list-records.hosts | 38 ++ .../list-zones-test-searched-1.hosts | 8 + .../list-zones-test-searched-2.hosts | 8 + .../list-zones-test-searched-3.hosts | 8 + .../list-zones-test-unfiltered-1.hosts | 8 + .../list-zones-test-unfiltered-2.hosts | 8 + .../zones/_template/non.test.shared.hosts | 13 + docker/bind9/zones/_template/not.loaded.hosts | 9 + docker/bind9/zones/_template/ok.hosts | 16 + docker/bind9/zones/_template/old-shared.hosts | 14 + .../bind9/zones/_template/old-vinyldns2.hosts | 14 + .../bind9/zones/_template/old-vinyldns3.hosts | 14 + .../zones/_template/one-time-shared.hosts | 8 + docker/bind9/zones/_template/one-time.hosts | 14 + docker/bind9/zones/_template/open.hosts | 8 + docker/bind9/zones/_template/parent.com.hosts | 15 + docker/bind9/zones/_template/shared.hosts | 16 + docker/bind9/zones/_template/sync-test.hosts | 17 + .../zones/_template/system-test-history.hosts | 14 + .../bind9/zones/_template/system-test.hosts | 16 + docker/bind9/zones/_template/vinyldns.hosts | 14 + .../_template/zone.requires.review.hosts | 11 + docker/bind9/zones/default/10.10.in-addr.arpa | 10 + .../zones/default/child.parent.com.hosts | 9 + .../zones/default/dskey.example.com.hosts | 9 + docker/bind9/zones/default/dummy.hosts | 15 + docker/bind9/zones/default/example.com.hosts | 10 + docker/bind9/zones/default/invalid-zone.hosts | 17 + docker/bind9/zones/default/list-records.hosts | 38 ++ .../default/list-zones-test-searched-1.hosts | 8 + .../default/list-zones-test-searched-2.hosts | 8 + .../default/list-zones-test-searched-3.hosts | 8 + .../list-zones-test-unfiltered-1.hosts | 8 + .../list-zones-test-unfiltered-2.hosts | 8 + .../bind9/zones/default/non.test.shared.hosts | 13 + .../zones/{ => default}/not.loaded.hosts | 0 docker/bind9/zones/default/ok.hosts | 16 + docker/bind9/zones/default/old-shared.hosts | 14 + .../bind9/zones/default/old-vinyldns2.hosts | 14 + .../bind9/zones/default/old-vinyldns3.hosts | 14 + .../bind9/zones/default/one-time-shared.hosts | 8 + docker/bind9/zones/default/one-time.hosts | 14 + docker/bind9/zones/default/open.hosts | 8 + docker/bind9/zones/default/parent.com.hosts | 15 + docker/bind9/zones/default/shared.hosts | 16 + docker/bind9/zones/default/sync-test.hosts | 17 + .../zones/default/system-test-history.hosts | 14 + docker/bind9/zones/default/system-test.hosts | 16 + .../bind9/zones/{ => default}/vinyldns.hosts | 0 .../zones/default/zone.requires.review.hosts | 11 + .../0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 12 + .../1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 13 + .../bind9/zones/partition1/10.10.in-addr.arpa | 10 + .../partition1/192^30.2.0.192.in-addr.arpa | 11 + .../zones/partition1/2.0.192.in-addr.arpa | 15 + .../zones/partition1/child.parent.com.hosts | 9 + .../zones/partition1/dskey.example.com.hosts | 9 + docker/bind9/zones/partition1/dummy.hosts | 15 + .../bind9/zones/partition1/example.com.hosts | 10 + .../bind9/zones/partition1/invalid-zone.hosts | 17 + .../bind9/zones/partition1/list-records.hosts | 38 ++ .../list-zones-test-searched-1.hosts | 8 + .../list-zones-test-searched-2.hosts | 8 + .../list-zones-test-searched-3.hosts | 8 + .../list-zones-test-unfiltered-1.hosts | 8 + .../list-zones-test-unfiltered-2.hosts | 8 + .../zones/partition1/non.test.shared.hosts | 13 + .../bind9/zones/partition1/not.loaded.hosts | 9 + docker/bind9/zones/partition1/ok.hosts | 16 + .../bind9/zones/partition1/old-shared.hosts | 14 + .../zones/partition1/old-vinyldns2.hosts | 14 + .../zones/partition1/old-vinyldns3.hosts | 14 + .../zones/partition1/one-time-shared.hosts | 8 + docker/bind9/zones/partition1/one-time.hosts | 14 + docker/bind9/zones/partition1/open.hosts | 8 + .../bind9/zones/partition1/parent.com.hosts | 15 + docker/bind9/zones/partition1/shared.hosts | 16 + docker/bind9/zones/partition1/sync-test.hosts | 17 + .../partition1/system-test-history.hosts | 14 + .../bind9/zones/partition1/system-test.hosts | 16 + docker/bind9/zones/partition1/vinyldns.hosts | 14 + .../partition1/zone.requires.review.hosts | 11 + .../0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 12 + .../1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 13 + .../bind9/zones/partition2/10.10.in-addr.arpa | 10 + .../partition2/192^30.2.0.192.in-addr.arpa | 11 + .../{ => partition2}/2.0.192.in-addr.arpa | 2 + .../zones/partition2/child.parent.com.hosts | 9 + .../zones/partition2/dskey.example.com.hosts | 9 + docker/bind9/zones/partition2/dummy.hosts | 15 + .../bind9/zones/partition2/example.com.hosts | 10 + .../bind9/zones/partition2/invalid-zone.hosts | 17 + .../bind9/zones/partition2/list-records.hosts | 38 ++ .../list-zones-test-searched-1.hosts | 8 + .../list-zones-test-searched-2.hosts | 8 + .../list-zones-test-searched-3.hosts | 8 + .../list-zones-test-unfiltered-1.hosts | 8 + .../list-zones-test-unfiltered-2.hosts | 8 + .../zones/partition2/non.test.shared.hosts | 13 + .../bind9/zones/partition2/not.loaded.hosts | 9 + docker/bind9/zones/partition2/ok.hosts | 16 + .../bind9/zones/partition2/old-shared.hosts | 14 + .../zones/partition2/old-vinyldns2.hosts | 14 + .../zones/partition2/old-vinyldns3.hosts | 14 + .../zones/partition2/one-time-shared.hosts | 8 + docker/bind9/zones/partition2/one-time.hosts | 14 + docker/bind9/zones/partition2/open.hosts | 8 + .../bind9/zones/partition2/parent.com.hosts | 15 + docker/bind9/zones/partition2/shared.hosts | 16 + docker/bind9/zones/partition2/sync-test.hosts | 17 + .../partition2/system-test-history.hosts | 14 + .../bind9/zones/partition2/system-test.hosts | 16 + docker/bind9/zones/partition2/vinyldns.hosts | 14 + .../partition2/zone.requires.review.hosts | 11 + .../0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 12 + .../1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 13 + .../bind9/zones/partition3/10.10.in-addr.arpa | 10 + .../partition3/192^30.2.0.192.in-addr.arpa | 11 + .../zones/partition3/2.0.192.in-addr.arpa | 15 + .../zones/partition3/child.parent.com.hosts | 9 + .../zones/partition3/dskey.example.com.hosts | 9 + docker/bind9/zones/partition3/dummy.hosts | 15 + .../bind9/zones/partition3/example.com.hosts | 10 + .../bind9/zones/partition3/invalid-zone.hosts | 17 + .../bind9/zones/partition3/list-records.hosts | 38 ++ .../list-zones-test-searched-1.hosts | 8 + .../list-zones-test-searched-2.hosts | 8 + .../list-zones-test-searched-3.hosts | 8 + .../list-zones-test-unfiltered-1.hosts | 8 + .../list-zones-test-unfiltered-2.hosts | 8 + .../zones/partition3/non.test.shared.hosts | 13 + .../bind9/zones/partition3/not.loaded.hosts | 9 + docker/bind9/zones/partition3/ok.hosts | 16 + .../bind9/zones/partition3/old-shared.hosts | 14 + .../zones/partition3/old-vinyldns2.hosts | 14 + .../zones/partition3/old-vinyldns3.hosts | 14 + .../zones/partition3/one-time-shared.hosts | 8 + docker/bind9/zones/partition3/one-time.hosts | 14 + docker/bind9/zones/partition3/open.hosts | 8 + .../bind9/zones/partition3/parent.com.hosts | 15 + docker/bind9/zones/partition3/shared.hosts | 16 + docker/bind9/zones/partition3/sync-test.hosts | 17 + .../partition3/system-test-history.hosts | 14 + .../bind9/zones/partition3/system-test.hosts | 16 + docker/bind9/zones/partition3/vinyldns.hosts | 14 + .../partition3/zone.requires.review.hosts | 11 + .../0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 12 + .../1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa | 13 + .../bind9/zones/partition4/10.10.in-addr.arpa | 10 + .../partition4/192^30.2.0.192.in-addr.arpa | 11 + .../zones/partition4/2.0.192.in-addr.arpa | 15 + .../zones/partition4/child.parent.com.hosts | 9 + .../zones/partition4/dskey.example.com.hosts | 9 + docker/bind9/zones/partition4/dummy.hosts | 15 + .../bind9/zones/partition4/example.com.hosts | 10 + .../bind9/zones/partition4/invalid-zone.hosts | 17 + .../bind9/zones/partition4/list-records.hosts | 38 ++ .../list-zones-test-searched-1.hosts | 8 + .../list-zones-test-searched-2.hosts | 8 + .../list-zones-test-searched-3.hosts | 8 + .../list-zones-test-unfiltered-1.hosts | 8 + .../list-zones-test-unfiltered-2.hosts | 8 + .../zones/partition4/non.test.shared.hosts | 13 + .../bind9/zones/partition4/not.loaded.hosts | 9 + docker/bind9/zones/partition4/ok.hosts | 16 + .../bind9/zones/partition4/old-shared.hosts | 14 + .../zones/partition4/old-vinyldns2.hosts | 14 + .../zones/partition4/old-vinyldns3.hosts | 14 + .../zones/partition4/one-time-shared.hosts | 8 + docker/bind9/zones/partition4/one-time.hosts | 14 + docker/bind9/zones/partition4/open.hosts | 8 + .../bind9/zones/partition4/parent.com.hosts | 15 + docker/bind9/zones/partition4/shared.hosts | 16 + docker/bind9/zones/partition4/sync-test.hosts | 17 + .../partition4/system-test-history.hosts | 14 + .../bind9/zones/partition4/system-test.hosts | 16 + docker/bind9/zones/partition4/vinyldns.hosts | 14 + .../partition4/zone.requires.review.hosts | 11 + docker/conf/application.conf | 325 +++++++++++++----- docker/docker-compose-build.yml | 33 +- 197 files changed, 3747 insertions(+), 138 deletions(-) create mode 100644 docker/bind9/etc/_template/named.partition.conf create mode 100644 docker/bind9/etc/named.conf.default mode change 100755 => 100644 docker/bind9/etc/named.conf.local create mode 100644 docker/bind9/etc/named.conf.partition1 create mode 100644 docker/bind9/etc/named.conf.partition2 create mode 100644 docker/bind9/etc/named.conf.partition3 create mode 100644 docker/bind9/etc/named.conf.partition4 create mode 100644 docker/bind9/zones/_template/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/_template/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/_template/10.10.in-addr.arpa create mode 100644 docker/bind9/zones/_template/192^30.2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/_template/2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/_template/child.parent.com.hosts create mode 100644 docker/bind9/zones/_template/dskey.example.com.hosts rename docker/bind9/zones/{sync-test.hosts => _template/dummy.hosts} (54%) mode change 100755 => 100644 create mode 100644 docker/bind9/zones/_template/example.com.hosts create mode 100644 docker/bind9/zones/_template/invalid-zone.hosts create mode 100644 docker/bind9/zones/_template/list-records.hosts create mode 100644 docker/bind9/zones/_template/list-zones-test-searched-1.hosts create mode 100644 docker/bind9/zones/_template/list-zones-test-searched-2.hosts create mode 100644 docker/bind9/zones/_template/list-zones-test-searched-3.hosts create mode 100644 docker/bind9/zones/_template/list-zones-test-unfiltered-1.hosts create mode 100644 docker/bind9/zones/_template/list-zones-test-unfiltered-2.hosts create mode 100644 docker/bind9/zones/_template/non.test.shared.hosts create mode 100644 docker/bind9/zones/_template/not.loaded.hosts create mode 100644 docker/bind9/zones/_template/ok.hosts create mode 100644 docker/bind9/zones/_template/old-shared.hosts create mode 100644 docker/bind9/zones/_template/old-vinyldns2.hosts create mode 100644 docker/bind9/zones/_template/old-vinyldns3.hosts create mode 100644 docker/bind9/zones/_template/one-time-shared.hosts create mode 100644 docker/bind9/zones/_template/one-time.hosts create mode 100644 docker/bind9/zones/_template/open.hosts create mode 100644 docker/bind9/zones/_template/parent.com.hosts create mode 100644 docker/bind9/zones/_template/shared.hosts create mode 100644 docker/bind9/zones/_template/sync-test.hosts create mode 100644 docker/bind9/zones/_template/system-test-history.hosts create mode 100644 docker/bind9/zones/_template/system-test.hosts create mode 100644 docker/bind9/zones/_template/vinyldns.hosts create mode 100644 docker/bind9/zones/_template/zone.requires.review.hosts create mode 100644 docker/bind9/zones/default/10.10.in-addr.arpa create mode 100644 docker/bind9/zones/default/child.parent.com.hosts create mode 100644 docker/bind9/zones/default/dskey.example.com.hosts create mode 100644 docker/bind9/zones/default/dummy.hosts create mode 100644 docker/bind9/zones/default/example.com.hosts create mode 100644 docker/bind9/zones/default/invalid-zone.hosts create mode 100644 docker/bind9/zones/default/list-records.hosts create mode 100644 docker/bind9/zones/default/list-zones-test-searched-1.hosts create mode 100644 docker/bind9/zones/default/list-zones-test-searched-2.hosts create mode 100644 docker/bind9/zones/default/list-zones-test-searched-3.hosts create mode 100644 docker/bind9/zones/default/list-zones-test-unfiltered-1.hosts create mode 100644 docker/bind9/zones/default/list-zones-test-unfiltered-2.hosts create mode 100644 docker/bind9/zones/default/non.test.shared.hosts rename docker/bind9/zones/{ => default}/not.loaded.hosts (100%) create mode 100644 docker/bind9/zones/default/ok.hosts create mode 100644 docker/bind9/zones/default/old-shared.hosts create mode 100644 docker/bind9/zones/default/old-vinyldns2.hosts create mode 100644 docker/bind9/zones/default/old-vinyldns3.hosts create mode 100644 docker/bind9/zones/default/one-time-shared.hosts create mode 100644 docker/bind9/zones/default/one-time.hosts create mode 100644 docker/bind9/zones/default/open.hosts create mode 100644 docker/bind9/zones/default/parent.com.hosts create mode 100644 docker/bind9/zones/default/shared.hosts create mode 100644 docker/bind9/zones/default/sync-test.hosts create mode 100644 docker/bind9/zones/default/system-test-history.hosts create mode 100644 docker/bind9/zones/default/system-test.hosts rename docker/bind9/zones/{ => default}/vinyldns.hosts (100%) create mode 100644 docker/bind9/zones/default/zone.requires.review.hosts create mode 100644 docker/bind9/zones/partition1/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition1/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition1/10.10.in-addr.arpa create mode 100644 docker/bind9/zones/partition1/192^30.2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/partition1/2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/partition1/child.parent.com.hosts create mode 100644 docker/bind9/zones/partition1/dskey.example.com.hosts create mode 100644 docker/bind9/zones/partition1/dummy.hosts create mode 100644 docker/bind9/zones/partition1/example.com.hosts create mode 100644 docker/bind9/zones/partition1/invalid-zone.hosts create mode 100644 docker/bind9/zones/partition1/list-records.hosts create mode 100644 docker/bind9/zones/partition1/list-zones-test-searched-1.hosts create mode 100644 docker/bind9/zones/partition1/list-zones-test-searched-2.hosts create mode 100644 docker/bind9/zones/partition1/list-zones-test-searched-3.hosts create mode 100644 docker/bind9/zones/partition1/list-zones-test-unfiltered-1.hosts create mode 100644 docker/bind9/zones/partition1/list-zones-test-unfiltered-2.hosts create mode 100644 docker/bind9/zones/partition1/non.test.shared.hosts create mode 100644 docker/bind9/zones/partition1/not.loaded.hosts create mode 100644 docker/bind9/zones/partition1/ok.hosts create mode 100644 docker/bind9/zones/partition1/old-shared.hosts create mode 100644 docker/bind9/zones/partition1/old-vinyldns2.hosts create mode 100644 docker/bind9/zones/partition1/old-vinyldns3.hosts create mode 100644 docker/bind9/zones/partition1/one-time-shared.hosts create mode 100644 docker/bind9/zones/partition1/one-time.hosts create mode 100644 docker/bind9/zones/partition1/open.hosts create mode 100644 docker/bind9/zones/partition1/parent.com.hosts create mode 100644 docker/bind9/zones/partition1/shared.hosts create mode 100644 docker/bind9/zones/partition1/sync-test.hosts create mode 100644 docker/bind9/zones/partition1/system-test-history.hosts create mode 100644 docker/bind9/zones/partition1/system-test.hosts create mode 100644 docker/bind9/zones/partition1/vinyldns.hosts create mode 100644 docker/bind9/zones/partition1/zone.requires.review.hosts create mode 100644 docker/bind9/zones/partition2/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition2/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition2/10.10.in-addr.arpa create mode 100644 docker/bind9/zones/partition2/192^30.2.0.192.in-addr.arpa rename docker/bind9/zones/{ => partition2}/2.0.192.in-addr.arpa (82%) create mode 100644 docker/bind9/zones/partition2/child.parent.com.hosts create mode 100644 docker/bind9/zones/partition2/dskey.example.com.hosts create mode 100644 docker/bind9/zones/partition2/dummy.hosts create mode 100644 docker/bind9/zones/partition2/example.com.hosts create mode 100644 docker/bind9/zones/partition2/invalid-zone.hosts create mode 100644 docker/bind9/zones/partition2/list-records.hosts create mode 100644 docker/bind9/zones/partition2/list-zones-test-searched-1.hosts create mode 100644 docker/bind9/zones/partition2/list-zones-test-searched-2.hosts create mode 100644 docker/bind9/zones/partition2/list-zones-test-searched-3.hosts create mode 100644 docker/bind9/zones/partition2/list-zones-test-unfiltered-1.hosts create mode 100644 docker/bind9/zones/partition2/list-zones-test-unfiltered-2.hosts create mode 100644 docker/bind9/zones/partition2/non.test.shared.hosts create mode 100644 docker/bind9/zones/partition2/not.loaded.hosts create mode 100644 docker/bind9/zones/partition2/ok.hosts create mode 100644 docker/bind9/zones/partition2/old-shared.hosts create mode 100644 docker/bind9/zones/partition2/old-vinyldns2.hosts create mode 100644 docker/bind9/zones/partition2/old-vinyldns3.hosts create mode 100644 docker/bind9/zones/partition2/one-time-shared.hosts create mode 100644 docker/bind9/zones/partition2/one-time.hosts create mode 100644 docker/bind9/zones/partition2/open.hosts create mode 100644 docker/bind9/zones/partition2/parent.com.hosts create mode 100644 docker/bind9/zones/partition2/shared.hosts create mode 100644 docker/bind9/zones/partition2/sync-test.hosts create mode 100644 docker/bind9/zones/partition2/system-test-history.hosts create mode 100644 docker/bind9/zones/partition2/system-test.hosts create mode 100644 docker/bind9/zones/partition2/vinyldns.hosts create mode 100644 docker/bind9/zones/partition2/zone.requires.review.hosts create mode 100644 docker/bind9/zones/partition3/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition3/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition3/10.10.in-addr.arpa create mode 100644 docker/bind9/zones/partition3/192^30.2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/partition3/2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/partition3/child.parent.com.hosts create mode 100644 docker/bind9/zones/partition3/dskey.example.com.hosts create mode 100644 docker/bind9/zones/partition3/dummy.hosts create mode 100644 docker/bind9/zones/partition3/example.com.hosts create mode 100644 docker/bind9/zones/partition3/invalid-zone.hosts create mode 100644 docker/bind9/zones/partition3/list-records.hosts create mode 100644 docker/bind9/zones/partition3/list-zones-test-searched-1.hosts create mode 100644 docker/bind9/zones/partition3/list-zones-test-searched-2.hosts create mode 100644 docker/bind9/zones/partition3/list-zones-test-searched-3.hosts create mode 100644 docker/bind9/zones/partition3/list-zones-test-unfiltered-1.hosts create mode 100644 docker/bind9/zones/partition3/list-zones-test-unfiltered-2.hosts create mode 100644 docker/bind9/zones/partition3/non.test.shared.hosts create mode 100644 docker/bind9/zones/partition3/not.loaded.hosts create mode 100644 docker/bind9/zones/partition3/ok.hosts create mode 100644 docker/bind9/zones/partition3/old-shared.hosts create mode 100644 docker/bind9/zones/partition3/old-vinyldns2.hosts create mode 100644 docker/bind9/zones/partition3/old-vinyldns3.hosts create mode 100644 docker/bind9/zones/partition3/one-time-shared.hosts create mode 100644 docker/bind9/zones/partition3/one-time.hosts create mode 100644 docker/bind9/zones/partition3/open.hosts create mode 100644 docker/bind9/zones/partition3/parent.com.hosts create mode 100644 docker/bind9/zones/partition3/shared.hosts create mode 100644 docker/bind9/zones/partition3/sync-test.hosts create mode 100644 docker/bind9/zones/partition3/system-test-history.hosts create mode 100644 docker/bind9/zones/partition3/system-test.hosts create mode 100644 docker/bind9/zones/partition3/vinyldns.hosts create mode 100644 docker/bind9/zones/partition3/zone.requires.review.hosts create mode 100644 docker/bind9/zones/partition4/0.0.0.1.1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition4/1.9.e.f.c.c.7.2.9.6.d.f.ip6.arpa create mode 100644 docker/bind9/zones/partition4/10.10.in-addr.arpa create mode 100644 docker/bind9/zones/partition4/192^30.2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/partition4/2.0.192.in-addr.arpa create mode 100644 docker/bind9/zones/partition4/child.parent.com.hosts create mode 100644 docker/bind9/zones/partition4/dskey.example.com.hosts create mode 100644 docker/bind9/zones/partition4/dummy.hosts create mode 100644 docker/bind9/zones/partition4/example.com.hosts create mode 100644 docker/bind9/zones/partition4/invalid-zone.hosts create mode 100644 docker/bind9/zones/partition4/list-records.hosts create mode 100644 docker/bind9/zones/partition4/list-zones-test-searched-1.hosts create mode 100644 docker/bind9/zones/partition4/list-zones-test-searched-2.hosts create mode 100644 docker/bind9/zones/partition4/list-zones-test-searched-3.hosts create mode 100644 docker/bind9/zones/partition4/list-zones-test-unfiltered-1.hosts create mode 100644 docker/bind9/zones/partition4/list-zones-test-unfiltered-2.hosts create mode 100644 docker/bind9/zones/partition4/non.test.shared.hosts create mode 100644 docker/bind9/zones/partition4/not.loaded.hosts create mode 100644 docker/bind9/zones/partition4/ok.hosts create mode 100644 docker/bind9/zones/partition4/old-shared.hosts create mode 100644 docker/bind9/zones/partition4/old-vinyldns2.hosts create mode 100644 docker/bind9/zones/partition4/old-vinyldns3.hosts create mode 100644 docker/bind9/zones/partition4/one-time-shared.hosts create mode 100644 docker/bind9/zones/partition4/one-time.hosts create mode 100644 docker/bind9/zones/partition4/open.hosts create mode 100644 docker/bind9/zones/partition4/parent.com.hosts create mode 100644 docker/bind9/zones/partition4/shared.hosts create mode 100644 docker/bind9/zones/partition4/sync-test.hosts create mode 100644 docker/bind9/zones/partition4/system-test-history.hosts create mode 100644 docker/bind9/zones/partition4/system-test.hosts create mode 100644 docker/bind9/zones/partition4/vinyldns.hosts create mode 100644 docker/bind9/zones/partition4/zone.requires.review.hosts 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..e4363ad 100644 --- a/docker/conf/application.conf +++ b/docker/conf/application.conf @@ -1,84 +1,189 @@ -# The default application.conf is not intended to be used in production. It assumes a docker-compose -# setup for all of the services. Provide your own application.conf on the docker mount with your -# own settings vinyldns { + base-version = "0.0.0-local-dev" + + # How often to any particular zone can be synchronized in milliseconds + sync-delay = 10000 + + # If we should start up polling for change requests, set this to false for the inactive cluster + processing-disabled = false + + # Number of records that can be in a zone + max-zone-size = 60000 + + # Types of unowned records that users can access in shared zones + shared-approved-types = ["A", "AAAA", "CNAME", "PTR", "TXT"] + + # Batch change settings + batch-change-limit = 1000 + manual-batch-review-enabled = true + scheduled-changes-enabled = true + multi-record-batch-change-enabled = true + + # Server settings + use-recordset-cache = true + load-test-data = false + # should be true while running locally or when we have only one api server/instance, for zone sync scheduler to work + is-zone-sync-schedule-allowed = true + + # configured backend providers + backend { + # Use "default" when dns backend legacy = true + # otherwise, use the id of one of the connections in any of your backends + default-backend-id = "default" + + # this is where we can save additional backends + backend-providers = [ + { + class-name = "vinyldns.api.backend.dns.DnsBackendProviderLoader" + settings = { + legacy = false + backends = [ + { + id = "default" + zone-connection = { + name = "vinyldns." + key-name = "vinyldns." + key = "nzisn+4G2ldMn0q1CV3vsg==" + primary-server = "127.0.0.1:19001" + } + transfer-connection = { + name = "vinyldns." + key-name = "vinyldns." + key = "nzisn+4G2ldMn0q1CV3vsg==" + primary-server = "127.0.0.1:19001" + }, + tsig-usage = "always" + }, + { + id = "func-test-backend" + zone-connection = { + name = "vinyldns." + key-name = "vinyldns." + key = "nzisn+4G2ldMn0q1CV3vsg==" + primary-server = "127.0.0.1:19001" + } + transfer-connection = { + name = "vinyldns." + key-name = "vinyldns." + key = "nzisn+4G2ldMn0q1CV3vsg==" + primary-server = "127.0.0.1:19001" + }, + tsig-usage = "always" + } + ] + } + } + ] + } + queue { - class-name = "vinyldns.mysql.queue.MySqlMessageQueueProvider" - polling-interval = 250.millis + class-name = "vinyldns.sqs.queue.SqsMessageQueueProvider" + messages-per-poll = 10 + polling-interval = 250.millis + + settings { + # AWS access key and secret. + access-key = "test" + secret-key = "test" + + # 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" + # Endpoint to access queue + service-endpoint = "http://localhost:19003/" + + # Queue name. Should be used in conjunction with service endpoint, rather than using a queue url which is subject to change. + queue-name = "vinyldns" + } + } + + email { + class-name = "vinyldns.api.notifier.email.EmailNotifierProvider" 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" + from = "VinylDNS " + } + } - # 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 - } + sns { + class-name = "vinyldns.apadi.notifier.sns.SnsNotifierProvider" + settings { + topic-arn = "arn:aws:sns:us-east-1:000000000000:batchChanges" + access-key = "test" + secret-key = "test" + service-endpoint = "http://localhost:19003" + signing-region = "us-east-1" } } - # host and port the server binds to. This should not be changed rest { host = "0.0.0.0" port = 9000 } - # the delay between zone syncs so we are not syncing too often - sync-delay = 10000 + api { + limits { + batchchange-routing-max-items-limit = 100 + membership-routing-default-max-items = 100 + membership-routing-max-items-limit = 1000 + membership-routing-max-groups-list-limit = 3000 + recordset-routing-default-max-items= 100 + zone-routing-default-max-items = 100 + zone-routing-max-items-limit = 100 + } + } + + approved-name-servers = [ + "172.17.42.1.", + "ns1.parent.com." + "ns1.parent.com1." + "ns1.parent.com2." + "ns1.parent.com3." + "ns1.parent.com4." + ] - # crypto settings for symmetric cryptography of secrets in the system - # Note: for production systems secrets should not live in plain text in a file + # Note: This MUST match the Portal or strange errors will ensue, NoOpCrypto should not be used for production crypto { type = "vinyldns.core.crypto.NoOpCrypto" } data-stores = ["mysql"] - - # default settings point to the setup from docker compose mysql { settings { + # JDBC Settings, these are all values in scalikejdbc-config, not our own + # these must be overridden to use MYSQL for production use + # assumes a docker or mysql instance running locally 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:mariadb://localhost:19002/?user=root&password=pass&socketTimeout=20000" + url = "jdbc:mariadb://localhost:19002/vinyldns?user=root&password=pass&socketTimeout=20000" user = "root" password = "pass" + flyway-out-of-order = false - # see https://github.com/brettwooldridge/HikariCP - connection-timeout-millis = 1000 - max-lifetime = 600000 + max-lifetime = 300000 + connection-timeout-millis = 30000 + idle-timeout = 150000 maximum-pool-size = 20 - register-mbeans = true + minimum-idle = 5 } + + # TODO: Remove the need for these useless configuration blocks repositories { zone { - # no additional settings for now - }, + } batch-change { - # no additional settings for now + } + user { } record-set { } - record-change { + record-set-cache { } zone-change { } - user { + record-change { } group { } @@ -89,61 +194,107 @@ vinyldns { } } - # the DDNS connection information for the default dns backend - defaultZoneConnection { - name = "vinyldns." - keyName = "vinyldns." - key = "nzisn+4G2ldMn0q1CV3vsg==" - primaryServer = "vinyldns-bind9" + backends = [] + + # FQDNs / IPs that cannot be modified via VinylDNS + # regex-list used for all record types except PTR + # ip-list used exclusively for PTR records + high-value-domains = { + regex-list = [ + "high-value-domain.*" # for testing + ] + ip-list = [ + # using reverse zones in the vinyldns/bind9 docker image for testing + "192.0.2.252", + "192.0.2.253", + "fd69:27cc:fe91:0:0:0:0:ffff", + "fd69:27cc:fe91:0:0:0:ffff:0" + ] + } + + # FQDNs / IPs / zone names that require manual review upon submission in batch change interface + # domain-list used for all record types except PTR + # ip-list used exclusively for PTR records + manual-review-domains = { + domain-list = [ + "needs-review.*" + ] + ip-list = [ + "192.0.1.254", + "192.0.1.255", + "192.0.2.254", + "192.0.2.255", + "192.0.3.254", + "192.0.3.255", + "192.0.4.254", + "192.0.4.255", + "fd69:27cc:fe91:0:0:0:ffff:1", + "fd69:27cc:fe91:0:0:0:ffff:2", + "fd69:27cc:fe92:0:0:0:ffff:1", + "fd69:27cc:fe92:0:0:0:ffff:2", + "fd69:27cc:fe93:0:0:0:ffff:1", + "fd69:27cc:fe93:0:0:0:ffff:2", + "fd69:27cc:fe94:0:0:0:ffff:1", + "fd69:27cc:fe94:0:0:0:ffff:2" + ] + zone-name-list = [ + "zone.requires.review." + "zone.requires.review1." + "zone.requires.review2." + "zone.requires.review3." + "zone.requires.review4." + ] } - # the AXFR connection information for the default dns backend - defaultTransferConnection { - name = "vinyldns." - keyName = "vinyldns." - key = "nzisn+4G2ldMn0q1CV3vsg==" - primaryServer = "vinyldns-bind9" + # FQDNs / IPs that cannot be modified via VinylDNS + # regex-list used for all record types except PTR + # ip-list used exclusively for PTR records + high-value-domains = { + regex-list = [ + "high-value-domain.*" # for testing + ] + ip-list = [ + # using reverse zones in the vinyldns/bind9 docker image for testing + "192.0.1.252", + "192.0.1.253", + "192.0.2.252", + "192.0.2.253", + "192.0.3.252", + "192.0.3.253", + "192.0.4.252", + "192.0.4.253", + "fd69:27cc:fe91:0:0:0:0:ffff", + "fd69:27cc:fe91:0:0:0:ffff:0", + "fd69:27cc:fe92:0:0:0:0:ffff", + "fd69:27cc:fe92:0:0:0:ffff:0", + "fd69:27cc:fe93:0:0:0:0:ffff", + "fd69:27cc:fe93:0:0:0:ffff:0", + "fd69:27cc:fe94:0:0:0:0:ffff", + "fd69:27cc:fe94:0:0:0:ffff:0" + ] } - backends = [ + global-acl-rules = [ { - id = "func-test-backend" - zone-connection { - name = "vinyldns." - key-name = "vinyldns." - key-name = ${?DEFAULT_DNS_KEY_NAME} - key = "nzisn+4G2ldMn0q1CV3vsg==" - key = ${?DEFAULT_DNS_KEY_SECRET} - primary-server = "vinyldns-bind9" - primary-server = ${?DEFAULT_DNS_ADDRESS} - } - transfer-connection { - name = "vinyldns." - key-name = "vinyldns." - key-name = ${?DEFAULT_DNS_KEY_NAME} - key = "nzisn+4G2ldMn0q1CV3vsg==" - key = ${?DEFAULT_DNS_KEY_SECRET} - primary-server = "vinyldns-bind9" - primary-server = ${?DEFAULT_DNS_ADDRESS} - } + group-ids: ["global-acl-group-id"], + fqdn-regex-list: [".*shared[0-9]{1}."] + }, + { + group-ids: ["another-global-acl-group"], + fqdn-regex-list: [".*ok[0-9]{1}."] } ] - - # the max number of changes in a single batch change. Change carefully as this has performance - # implications - batch-change-limit = 1000 - - manual-batch-review-enabled = true - - scheduled-changes-enabled = true } -# Akka settings, these should not need to be modified unless you know akka http really well. akka { loglevel = "INFO" loggers = ["akka.event.slf4j.Slf4jLogger"] logging-filter = "akka.event.slf4j.Slf4jLoggingFilter" logger-startup-timeout = 30s + + actor { + provider = "akka.actor.LocalActorRefProvider" + } } akka.http { @@ -157,7 +308,11 @@ akka.http { } parsing { - # akka-http doesn't like the AWS4 headers - illegal-header-warnings = on + # Don't complain about the / in the AWS SigV4 auth header + ignore-illegal-header-for = ["authorization"] } } + +# You can provide configuration overrides via local.conf if you don't want to replace everything in +# this configuration file +include "local.conf" diff --git a/docker/docker-compose-build.yml b/docker/docker-compose-build.yml index e1e7446..4d76376 100644 --- a/docker/docker-compose-build.yml +++ b/docker/docker-compose-build.yml @@ -1,23 +1,19 @@ 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: "deps-only 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:latest" @@ -25,7 +21,8 @@ services: ports: - "9000:9000" depends_on: - - mysql - - bind9 + - integration + env_file: + - "${ENV_FILE:-.env}" volumes: - - "./conf:/opt/docker/conf" + - "./conf:/opt/docker/conf" \ No newline at end of file From 45a5a339c4f5b19554dd6fe29fe49c5a57218e11 Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Tue, 5 Mar 2024 15:17:43 +0530 Subject: [PATCH 8/9] update --- docker/docker-compose-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-compose-build.yml b/docker/docker-compose-build.yml index 4d76376..6fbe271 100644 --- a/docker/docker-compose-build.yml +++ b/docker/docker-compose-build.yml @@ -5,7 +5,7 @@ services: hostname: "vinyldns-integration" image: "vinyldns/build:base-test-integration-latest" environment: - RUN_SERVICES: "deps-only tail-logs all" + RUN_SERVICES: "tail-logs all" env_file: - "${ENV_FILE:-.env}" ports: From c9af08d751a761a4a4b36b21289ce74a06fc29dc Mon Sep 17 00:00:00 2001 From: Jay07GIT Date: Fri, 26 Apr 2024 17:29:10 +0530 Subject: [PATCH 9/9] update --- docker/conf/application.conf | 297 ++++++++------------------------ docker/docker-compose-build.yml | 9 +- 2 files changed, 77 insertions(+), 229 deletions(-) diff --git a/docker/conf/application.conf b/docker/conf/application.conf index e4363ad..16bd147 100644 --- a/docker/conf/application.conf +++ b/docker/conf/application.conf @@ -1,81 +1,7 @@ +# The default application.conf is not intended to be used in production. It assumes a docker-compose +# setup for all of the services. Provide your own application.conf on the docker mount with your +# own settings vinyldns { - base-version = "0.0.0-local-dev" - - # How often to any particular zone can be synchronized in milliseconds - sync-delay = 10000 - - # If we should start up polling for change requests, set this to false for the inactive cluster - processing-disabled = false - - # Number of records that can be in a zone - max-zone-size = 60000 - - # Types of unowned records that users can access in shared zones - shared-approved-types = ["A", "AAAA", "CNAME", "PTR", "TXT"] - - # Batch change settings - batch-change-limit = 1000 - manual-batch-review-enabled = true - scheduled-changes-enabled = true - multi-record-batch-change-enabled = true - - # Server settings - use-recordset-cache = true - load-test-data = false - # should be true while running locally or when we have only one api server/instance, for zone sync scheduler to work - is-zone-sync-schedule-allowed = true - - # configured backend providers - backend { - # Use "default" when dns backend legacy = true - # otherwise, use the id of one of the connections in any of your backends - default-backend-id = "default" - - # this is where we can save additional backends - backend-providers = [ - { - class-name = "vinyldns.api.backend.dns.DnsBackendProviderLoader" - settings = { - legacy = false - backends = [ - { - id = "default" - zone-connection = { - name = "vinyldns." - key-name = "vinyldns." - key = "nzisn+4G2ldMn0q1CV3vsg==" - primary-server = "127.0.0.1:19001" - } - transfer-connection = { - name = "vinyldns." - key-name = "vinyldns." - key = "nzisn+4G2ldMn0q1CV3vsg==" - primary-server = "127.0.0.1:19001" - }, - tsig-usage = "always" - }, - { - id = "func-test-backend" - zone-connection = { - name = "vinyldns." - key-name = "vinyldns." - key = "nzisn+4G2ldMn0q1CV3vsg==" - primary-server = "127.0.0.1:19001" - } - transfer-connection = { - name = "vinyldns." - key-name = "vinyldns." - key = "nzisn+4G2ldMn0q1CV3vsg==" - primary-server = "127.0.0.1:19001" - }, - tsig-usage = "always" - } - ] - } - } - ] - } - queue { class-name = "vinyldns.sqs.queue.SqsMessageQueueProvider" @@ -86,104 +12,71 @@ vinyldns { 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} } } - email { - class-name = "vinyldns.api.notifier.email.EmailNotifierProvider" - settings = { - from = "VinylDNS " - } - } - - sns { - class-name = "vinyldns.apadi.notifier.sns.SnsNotifierProvider" - settings { - topic-arn = "arn:aws:sns:us-east-1:000000000000:batchChanges" - access-key = "test" - secret-key = "test" - service-endpoint = "http://localhost:19003" - signing-region = "us-east-1" - } - } - + # host and port the server binds to. This should not be changed rest { host = "0.0.0.0" port = 9000 } - api { - limits { - batchchange-routing-max-items-limit = 100 - membership-routing-default-max-items = 100 - membership-routing-max-items-limit = 1000 - membership-routing-max-groups-list-limit = 3000 - recordset-routing-default-max-items= 100 - zone-routing-default-max-items = 100 - zone-routing-max-items-limit = 100 - } - } - - approved-name-servers = [ - "172.17.42.1.", - "ns1.parent.com." - "ns1.parent.com1." - "ns1.parent.com2." - "ns1.parent.com3." - "ns1.parent.com4." - ] + # the delay between zone syncs so we are not syncing too often + sync-delay = 10000 - # Note: This MUST match the Portal or strange errors will ensue, NoOpCrypto should not be used for production + # crypto settings for symmetric cryptography of secrets in the system + # Note: for production systems secrets should not live in plain text in a file crypto { type = "vinyldns.core.crypto.NoOpCrypto" } data-stores = ["mysql"] + + # default settings point to the setup from docker compose mysql { settings { - # JDBC Settings, these are all values in scalikejdbc-config, not our own - # these must be overridden to use MYSQL for production use - # assumes a docker or mysql instance running locally name = "vinyldns" driver = "org.mariadb.jdbc.Driver" - migration-url = "jdbc:mariadb://localhost:19002/?user=root&password=pass&socketTimeout=20000" - url = "jdbc:mariadb://localhost:19002/vinyldns?user=root&password=pass&socketTimeout=20000" + migration-url = ${?JDBC_MIGRATION_URL} + url = ${?JDBC_MIGRATION_URL} user = "root" password = "pass" - flyway-out-of-order = false - max-lifetime = 300000 - connection-timeout-millis = 30000 - idle-timeout = 150000 + # see https://github.com/brettwooldridge/HikariCP + connection-timeout-millis = 1000 + max-lifetime = 600000 maximum-pool-size = 20 - minimum-idle = 5 + register-mbeans = true } - - # TODO: Remove the need for these useless configuration blocks repositories { zone { - } + # no additional settings for now + }, batch-change { - } - user { + # no additional settings for now } record-set { } - record-set-cache { + record-change { } zone-change { } - record-change { + user { } group { } @@ -194,107 +87,61 @@ vinyldns { } } - backends = [] - - # FQDNs / IPs that cannot be modified via VinylDNS - # regex-list used for all record types except PTR - # ip-list used exclusively for PTR records - high-value-domains = { - regex-list = [ - "high-value-domain.*" # for testing - ] - ip-list = [ - # using reverse zones in the vinyldns/bind9 docker image for testing - "192.0.2.252", - "192.0.2.253", - "fd69:27cc:fe91:0:0:0:0:ffff", - "fd69:27cc:fe91:0:0:0:ffff:0" - ] - } - - # FQDNs / IPs / zone names that require manual review upon submission in batch change interface - # domain-list used for all record types except PTR - # ip-list used exclusively for PTR records - manual-review-domains = { - domain-list = [ - "needs-review.*" - ] - ip-list = [ - "192.0.1.254", - "192.0.1.255", - "192.0.2.254", - "192.0.2.255", - "192.0.3.254", - "192.0.3.255", - "192.0.4.254", - "192.0.4.255", - "fd69:27cc:fe91:0:0:0:ffff:1", - "fd69:27cc:fe91:0:0:0:ffff:2", - "fd69:27cc:fe92:0:0:0:ffff:1", - "fd69:27cc:fe92:0:0:0:ffff:2", - "fd69:27cc:fe93:0:0:0:ffff:1", - "fd69:27cc:fe93:0:0:0:ffff:2", - "fd69:27cc:fe94:0:0:0:ffff:1", - "fd69:27cc:fe94:0:0:0:ffff:2" - ] - zone-name-list = [ - "zone.requires.review." - "zone.requires.review1." - "zone.requires.review2." - "zone.requires.review3." - "zone.requires.review4." - ] + # the DDNS connection information for the default dns backend + defaultZoneConnection { + name = "vinyldns." + keyName = "vinyldns." + key = "nzisn+4G2ldMn0q1CV3vsg==" + primaryServer = "vinyldns-bind9" } - # FQDNs / IPs that cannot be modified via VinylDNS - # regex-list used for all record types except PTR - # ip-list used exclusively for PTR records - high-value-domains = { - regex-list = [ - "high-value-domain.*" # for testing - ] - ip-list = [ - # using reverse zones in the vinyldns/bind9 docker image for testing - "192.0.1.252", - "192.0.1.253", - "192.0.2.252", - "192.0.2.253", - "192.0.3.252", - "192.0.3.253", - "192.0.4.252", - "192.0.4.253", - "fd69:27cc:fe91:0:0:0:0:ffff", - "fd69:27cc:fe91:0:0:0:ffff:0", - "fd69:27cc:fe92:0:0:0:0:ffff", - "fd69:27cc:fe92:0:0:0:ffff:0", - "fd69:27cc:fe93:0:0:0:0:ffff", - "fd69:27cc:fe93:0:0:0:ffff:0", - "fd69:27cc:fe94:0:0:0:0:ffff", - "fd69:27cc:fe94:0:0:0:ffff:0" - ] + # the AXFR connection information for the default dns backend + defaultTransferConnection { + name = "vinyldns." + keyName = "vinyldns." + key = "nzisn+4G2ldMn0q1CV3vsg==" + primaryServer = "vinyldns-bind9" } - global-acl-rules = [ + backends = [ { - group-ids: ["global-acl-group-id"], - fqdn-regex-list: [".*shared[0-9]{1}."] - }, - { - group-ids: ["another-global-acl-group"], - fqdn-regex-list: [".*ok[0-9]{1}."] + id = "func-test-backend" + zone-connection { + name = "vinyldns." + key-name = "vinyldns." + key-name = ${?DEFAULT_DNS_KEY_NAME} + key = "nzisn+4G2ldMn0q1CV3vsg==" + key = ${?DEFAULT_DNS_KEY_SECRET} + primary-server = "vinyldns-bind9" + primary-server = ${?DEFAULT_DNS_ADDRESS} + } + transfer-connection { + name = "vinyldns." + key-name = "vinyldns." + key-name = ${?DEFAULT_DNS_KEY_NAME} + key = "nzisn+4G2ldMn0q1CV3vsg==" + key = ${?DEFAULT_DNS_KEY_SECRET} + primary-server = "vinyldns-bind9" + primary-server = ${?DEFAULT_DNS_ADDRESS} + } } ] + + # the max number of changes in a single batch change. Change carefully as this has performance + # implications + batch-change-limit = 1000 + + manual-batch-review-enabled = true + + scheduled-changes-enabled = true } +# Akka settings, these should not need to be modified unless you know akka http really well. akka { loglevel = "INFO" loggers = ["akka.event.slf4j.Slf4jLogger"] logging-filter = "akka.event.slf4j.Slf4jLoggingFilter" logger-startup-timeout = 30s - - actor { - provider = "akka.actor.LocalActorRefProvider" - } } akka.http { @@ -308,11 +155,7 @@ akka.http { } parsing { - # Don't complain about the / in the AWS SigV4 auth header - ignore-illegal-header-for = ["authorization"] + # akka-http doesn't like the AWS4 headers + illegal-header-warnings = on } -} - -# You can provide configuration overrides via local.conf if you don't want to replace everything in -# this configuration file -include "local.conf" +} \ No newline at end of file diff --git a/docker/docker-compose-build.yml b/docker/docker-compose-build.yml index 6fbe271..644f02e 100644 --- a/docker/docker-compose-build.yml +++ b/docker/docker-compose-build.yml @@ -11,7 +11,7 @@ services: ports: - "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" + command: bash -c "cp -R /app/bind9/etc/named.conf.* /etc/bind/ && cp -R /app/bind9/zones/* /var/bind/ && named-checkconf" volumes: - ./bind9:/app/bind9 @@ -25,4 +25,9 @@ services: env_file: - "${ENV_FILE:-.env}" volumes: - - "./conf:/opt/docker/conf" \ No newline at end of file + - "./conf:/opt/docker/conf" + +networks: + default: + name: "vinyldns_net" + external: true \ No newline at end of file