2486d1d80f6d0c3cb663cbd9b03d81d91e64311c 1.66 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
E 0 90000001 0 0		; Size overflow
@	LOC	0 0 0 N 0 0 0 E 0 0 90000000*01 0	; HP overflow
@	LOC	0 0 0 N 0 0 0 E 0 0 90000001 0ontinuous block length must be multiple of 4
@	DNSKEY	0	0	0	AA ==		; Contlnuous block length must be multiple of 4
@	DNSKEY	0	0	0	A===		; Bad padding
@	DNSKEY	0	0	0	=		; Bad padding
@	DNSKEY	0	0	0	==		; Bad pa

; 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	ACithm mnemo
@	CERT	0	0	PRIVATEDNS	ORIGIN	.
$TTL	1

; OK
@	TXT	""				; Blank string
@	TXT	a				; One char string
@	TXT	\ 				; One space char
@	TXT	"\0	0	0	Zm9v		; Without padding
@	CERT	0	0	0	Zm9vYg==	; Two base64 blocks
@	CERT	0	0	0	Zm9v YmE=	; Two base64 blocks with blank space between them
@	TYPE74	\# 6 000000000000			; TYPE + Hexadecimal rdata
@	TYPE37	0	0	0	AA==		; TYPE
@	cert	0	0	0	AA==		; Type in lower-case

; KO
@	CERT
@	CERT						; Empty rdata
@	CERT	\# 0					; Hex empty rdata
@	CERT	65536	0	0	AA==		; Type overflow
@	CERT	X	0	0	AA==		; Bad type mnemonic
@	CERT	0	65536	0	AA==		; Key$ORIGIN	.
$TTL	1

; The RP is the same as the MINFO, so there are the differences and basics only.

; OK
@	RP	mail	mail.tld.	; Relative and absolute dnames
@	RP	\# 2 00 00		; Hexadecimal rdata
@	TYPE17	\# 2 00 00		; TYPE + Hexadecimal rdata
@	TYPE17	@	@		; TYPE
@ tag	rp	@	@		 overflow
@	CERT	0	; Type in lower-case

; KO
@	RP
0	256	AA==		; Algorithm overflow
@	CERT	0	0	0	A		; Cont