#
# Copyright (C) 2001-2004, 2007, 2009, 2011-2017 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Set up a test zone
#
# Usage: genzone.sh master-server-number slave-server-number...
#
# e.g., "genzone.sh 2 3 4" means ns2 is the master and ns3, ns4
# are slaves.
#
master="$1"
cat <<EOF
\$TTL 3600
@ 86400 IN SOA ns${master} hostmaster (
1397051952 ; "SER0"
5
5
1814400
3600 )
EOF
for n
do
cat <<EOF
@ NS ns${n}
ns${n} A 10.53.0.${n}
EOF
done
; type 1
; type 2
; type 3
; MD .
; type 4
; type 5
; type 6
; type 7
; type 8
; type 9
; type 10
; type 11
; type 12
; type 13
; type 14
; type 15
; type 16
; type 17
; type 18
; type 19
; type 20
; type 21
; type 22
0x47.0005.80.005a00.0000.0001.e133.ffffff000161.00 )
0x47.0005.80.005a00.0000.0001.e133.ffffff000161.00. )
; type 23
; type 24
; 19961211100908 2143 foo.nil.
; VfSCSqQYn6//11U6Nld80jEeC8aTrO+KKmCaY= )
; type 25
; type 26
; type 27
; type 28
; type 29
2000.00m 20.00m )
; type 30
; type 31 (EID - not implemented by BIND)
; type 32 (NIMLOC - not implemented by BIND)
; type 33
; type 34 (ATMA - not implemented by BIND)
; type 35
; type 36
; type 37
VfSCSqQYn6//11U6Nld80jEeC8aTrO+KKmCaY= )
; type 38
; type 39
; type 40
; type 41
; type 42
; type 43
; type 44
; type 45
192.0.2.3
2001:0DB8:0:8002::2000:1
; type 46
19961211100908 2143 foo.nil.
VfSCSqQYn6//11U6Nld80jEeC8aTrO+KKmCaY= )
; type 47
; type 48
; type 49
L3b/NaiUDlW2No= )
; type 50
8f1tmio9avcom2k0frp92lgcumak0cad NSEC3 1 0 10 D2CF0294C020CE6C 8FPNS2UCT7FBS643THP2B77PEQ77K6IU A NS SOA MX AAAA RRSIG DNSKEY NSEC3PARAM
mr5ukvsk1l37btu4q7b1dfevft4hkqdk NSEC3 1 0 10 D2CF0294C020CE6C MT38J6VG7S0SN5G17MCUF6IQIKFUAJ05 A AAAA RRSIG
; type 51
; type 52
; type 53
; type 54 (unassigned)
; type 55
AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D )
AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D
; type 56
; type 57
; type 58
; type 59
A3B9 )
; type 60
; type 61
;type 62
; type 99
; type 100 (UINFO - not implemented by BIND)
; type 101 (UID - not implemented by BIND)
; type 102 (GID - not implemented by BIND)
; type 104
; type 105
; type 106
; type 107
; type 108
; type 109
; type 249
; 255 ; algorithm
; 65535 ; mode
; 0 ; error
; )
; 255 ; algorithm
; 65535 ; mode
; 0 ; error
; )
; type 255
; type 256
uri02 URI 30 40 "https://www.isc.org/HolyCowThisSureIsAVeryLongURIRecordIDontEvenKnowWhatSomeoneWouldEverWantWithSuchAThingButTheSpecificationRequiresThatWesupportItSoHereWeGoTestingItLaLaLaLaLaLaLaSeriouslyThoughWhyWouldYouEvenConsiderUsingAURIThisLongItSeemsLikeASillyIdeaButEnhWhatAreYouGonnaDo/"
; type 257
; type 258
; type 259
R0lGODlhKAAZAOMCAGZmZgBmmf///zOZzMz//5nM/zNmmWbM/5nMzMzMzACZ////
/////////////////yH5BAEKAA8ALAAAAAAoABkAAATH8IFJK5U2a4337F5ogRkp
; type 32768
A3B9 )
; type 32769
A3B9 )
; type 65535 (reserved)