c40e033d2170ec5bd55124bbb034528888b1a76fTinderbox User# Copyright (C) 2001-2004, 2007, 2009, 2011-2017 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson# Set up a test zone
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson# Usage: genzone.sh master-server-number slave-server-number...
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson# e.g., "genzone.sh 2 3 4" means ns2 is the master and ns3, ns4
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson@ 86400 IN SOA ns${master} hostmaster (
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson 1397051952 ; "SER0"
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafssonns${n} A 10.53.0.${n}
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson; NULL RRs are not allowed in master files per RFC1035.
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafssonhinfo01 HINFO "Generic PC clone" "NetBSD-1.4"
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson 0x47.0005.80.005a00.0000.0001.e133.ffffff000161.00 )
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson 0x47.0005.80.005a00.0000.0001.e133.ffffff000161.00. )
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews; 19961211100908 2143 foo.nil.
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews;key01 KEY 512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafssonloc02 LOC 60 09 00.000 N 24 39 00.000 E 10.00m 20.00m (
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson 2000.00m 20.00m )
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews;nxt01 NXT a.secure.nil. ( NS SOA MX RRSIG KEY LOC NXT )
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrewsnaptr02 NAPTR 65535 65535 blurgh blorf blllbb foo.
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrewsnaptr02 NAPTR 65535 65535 "blurgh" "blorf" "blllbb" foo.
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafssona601 A6 0 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson; OPT is a meta-type and should never occur in master files.
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntds01 DS 12892 5 2 26584835CA80C81C91999F31CFAF2A0E89D4FF1C8FAFD0DDB31A85C7 19277C13
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntds02 DS 12892 5 1 7AA4A3F416C2F2391FB7AB0D434F762CD62D1390
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntsshfp01 SSHFP 4 2 C76D8329954DA2835751E371544E963EFDA099080D6C58DD2BFD9A31 6E162C83
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntsshfp02 SSHFP 1 2 BF29468C83AC58CCF8C85AB7B3BEB054ECF1E38512B8353AB36471FA 88961DCC
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntipseckey01 IPSECKEY 10 1 2 192.0.2.38 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntipseckey02 IPSECKEY 10 0 2 . AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ== )
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ== )
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt 2001:0DB8:0:8002::2000:1
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ== )
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews 19961211100908 2143 foo.nil.
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsnsec01 NSEC a.secure.nil. ( NS SOA MX RRSIG DNSKEY LOC NSEC )
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsdnskey01 DNSKEY 512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt8f1tmio9avcom2k0frp92lgcumak0cad NSEC3 1 0 10 D2CF0294C020CE6C 8FPNS2UCT7FBS643THP2B77PEQ77K6IU A NS SOA MX AAAA RRSIG DNSKEY NSEC3PARAM
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntkcd3juae64f9c5csl1kif1htaui7un0g NSEC3 1 0 10 D2CF0294C020CE6C KD5MN2M20340DGO0BL7NTSB8JP4BSC7E
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntmr5ukvsk1l37btu4q7b1dfevft4hkqdk NSEC3 1 0 10 D2CF0294C020CE6C MT38J6VG7S0SN5G17MCUF6IQIKFUAJ05 A AAAA RRSIG
29f0ced781d745591fd058e530a68a281cd7a510Evan Huntsmimea SMIMEA ( 1 1 2 92003ba34942dc74152e2f2c408d29ec
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D )
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D
8b29fc0b7a13db404f1a13fcfad42c2e7cfbe25bMark Andrewsrkey01 RKEY 512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY
cac2181160bdb3ccc89e3560addae5e38d4c05e3Evan Huntcdnskey01 CDNSKEY 512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY
1feee79e1f8b946af9ebcc9dc31514aafb872438Mark Andrewsopenpgpkey OPENPGPKEY ( AQMFD5raczCJHViKtLYhWGz8hMY
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt; type 103 (UNSPEC - XXXMUKS TODO - this has some weird encoding - see btoa_totext())
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson; TKEY is a meta-type and should never occur in master files.
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson; The text representation is not specified in the draft.
f3bbe7772ff66baa28d5c1e3f620f24a384457ccAndreas Gustafsson; This example was written based on the bind9 RR parsing code.
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt; * is a meta-type and should never occur in master files.
9fe8cca06537c45375c1e1d36b82501caf0ae090Francis Duponturi02 URI 30 40 "https://www.isc.org/HolyCowThisSureIsAVeryLongURIRecordIDontEvenKnowWhatSomeoneWouldEverWantWithSuchAThingButTheSpecificationRequiresThatWesupportItSoHereWeGoTestingItLaLaLaLaLaLaLaSeriouslyThoughWhyWouldYouEvenConsiderUsingAURIThisLongItSeemsLikeASillyIdeaButEnhWhatAreYouGonnaDo/"
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępieńdoa01 DOA ( 1234567890 1234567890 1 "image/gif"
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień R0lGODlhKAAZAOMCAGZmZgBmmf///zOZzMz//5nM/zNmmWbM/5nMzMzMzACZ////
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień /////////////////yH5BAEKAA8ALAAAAAAoABkAAATH8IFJK5U2a4337F5ogRkp
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień noCJrly7PrCKyh8c3HgAhzT35MDbbtO7/IJIHbGiOiaTxVTpSVWWLqNq1UVyapNS
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień 1wd3OAxug0LhnCubcVhsxysQnOt4ATpvvzHlFzl1AwODhWeFAgRpen5/UhheAYMF
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień dUB4SFcpGEGGdQeCAqBBLTuSk30EeXd9pEsAbKGxjHqDSE0Sp6ixN4N1BJmbc7lI
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień hmsBich1awPAjkY1SZR8bJWrz382SGqIBQQFQd4IsUTaX+ceuudPEQA7 )
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępieńdoa02 DOA 0 1 2 "" aHR0cHM6Ly93d3cuaXNjLm9yZy8=
d6f99498d624d5c5c8ee45067df02e6a6b35a1a3Mark Andrewskeydata TYPE65533 \# 18 010203040506010203040506010203040506