0ee3c8b7f857dde5171c40511d41bcf480142560 3.76 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
$ORIGIN	.
$TTL	1

; OK
@	CERT	0	0	0	AA==		; The simplest variant
@	CERT	65535	65535	255	AA==		; Maximal numbers
@	CERT	PKIX	0	0	AA==		; Certificate type mnemo
@	CERT	SPKI	0	0	AA==		; Certificate type mnemo
@	CERT	PGP	0	0	AA==		; Certificate type mnemo
@	CERT	IPKIX	0	0	AA==		; Certificate type mnemo
@	CERT	ISPKI	0	0	AA==		; Certificate type mnemo
@	CERT	IPGP	0	0	AA==		; Certificate type mnemo
@	CERT	ACPKIX	0	0	AA==		; Certificate type mnemo
@	CERT	IACPKIX	0	0	AA==		; Certificate type mnemo
@	CERT	URI	0	0	AA==		; Certificate type mnemo
@	CERT	OID	0	0	AA==		; Certificate type mnemo
@	CERT	0	0	RSAMD5	AA==		; Algorithm mnemo
@	CERT	0	0	DH	AA==		; Algorithm mnemo
@	CERT	0	0	DSA	AA==		; Algorithm mnemo
@	CERT	0	0	RSASHA1	AA==		; Algorithm mnemo
@	CERT	0	0	DSA-NSEC3-SHA1	AA==		; Algorithm mnemo
@	CERT	0	0	RSASHA1-NSEC3-SHA1	AA==	; Algorithm mnemo
@	CERT	0	0	RSASHA256	AA==		; Algorithm mnemo
@	CERT	0	0	RSASHA512$ORIGIN	.
$TTL	1

; OK
@	TXT	""				; Blank string
@	TXT	a				; One char string
@	TXT	\ 				; One space char
@	TXT	"\ "				; One space char \# 5			; Without hex rdata
@	TYPE55555	\# 1 00			; Without hex rdata
@	TYPE1		\# 4 00000000		; Known type
@	TYPE1		0.0.0.0			; Known type in text format
@	TYPE55555	(			; Multiline begin
	\#
	5
	0102 03
	04 05
	)					; Multiline end
@	type55555	\# 0			; Type in lower-case

; KO
@	TYPE55555
@	TYPE55555				; Without text rdata
@	TYPE65536				; Type number overflow
@	TYPE65535x				;PQRSTUVWXYZ[\\]^_`"	; Second part of all printables
@	TXT	"abcdefghijklmnopqrstuvwxyz{|}~"	; Third part of all printables
@	TXT	\# 1 00				; Hexadecimal rdata
@	TYPE16	\# 1 00				; TYPE + Hexadecimal rdata
@	TYPE16	""				; TYPE
@	TXT	(				; Special mu0ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMN1234\053"	; Text string of maximal length (255 chars)
@	TXT	"abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghi$ORIGIN	.

; OK
$TTL	0		; Minimal ttl
@	NS	@	; Use ttl
$TTL	3600		; Inner value
@	NS	@	; Use ttl
$TTL	4294967295	; Maximal ttl
@	NS	@	; Use ttl
$TTL	1S		; 1 second (upper-case)
@	NS	@	; Use ttl
$TTL	1s		; 1 second (lower-case)
@	NS	@	; Use ttl
$TTL	1M		; 1 minute (upper-case)
@	NS	@	; Use ttl
jklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMN1234\0536"	; Mi	AA==		; Algorithm mnemo
@	CERT	0	0	ECC-GOST	AA==		; Algorithm mnemo
@	CERT	0	0	ECDSAP256SHA256	AA==		; Algorithm mnemo
@	CERT	0	0	ECDSAP384SHA384	AA==		; Algorithm mnemo
@	CERT	0	0	ED25519		AA==		; Algorithm mnemo
@	CERT	0	0	ED448		AA==		; Algorithm mnemo
@	CERT	0	0	INDIRECT	AA==		; Algorithm mnemo
@	CERT	0	0	PRIVATEDNS	AA==		; Algorithm mnemo
@	CERT	0	0	PRIVATEOID	AA==		; Algorithm mnemo
@	CERT	0	0	0	Zm8=		; One char padding
@	CERT	0	0	0	Zm9v		; Without padding
@	CERTnimum overflowed text string which should be divided into two strings.
@	TXT	"abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMN1234\053ghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKL$ORIGIMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNabcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMN1234\053\054"	; Minimum overflowed text string which should be divided into two strings (decimal version).
@	txt	""				; Type in lower-case

; KO
@	TXT
@	TXT			; Empty rdata
@	TXT	\# 0		; Hex empty rdata
@	TXT	\01		; Missing digit in decimal notation
@	TXT	\256		; 8	0	0	0	Zm9vYg==	; Two base64 blocks
bit overflow in decimal notation
@	TXT	"""		; '"' char without forward sl$TTL	0m		; 1 miN	.
$TTL	1

; OK
@	NSEC3	n