summaryrefslogtreecommitdiffstats
path: root/tests/libzscanner/data/31_DNSKEY.in
blob: 871de97e7696e9388f1fe1d7a9e7fa6891e9b64c (plain)
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
$ORIGIN	.
$TTL	1

; OK
@	DNSKEY	0	0	0	AA==		; The simplest variant
@	DNSKEY	65535	255	255	AA==		; Maximal numbers
@	DNSKEY	0	0	RSAMD5	AA==		; Algorithm mnemonic
@	DNSKEY	0	0	0	Zm8=		; One char padding
@	DNSKEY	0	0	0	Zm9v		; Without padding
@	DNSKEY	0	0	0	Zm9vYg==	; Two base64 blocks
@	DNSKEY	0	0	0	Zm9v YmE=	; Two base64 blocks with blank space between them
@	TYPE48	\# 5 0000000000				; TYPE + Hexadecimal rdata
@	TYPE48	0	0	0	AA==		; TYPE
@	dnskey	0	0	0	AA==		; Type in lower-case

; KO
@	DNSKEY
@	DNSKEY						; Empty rdata
@	DNSKEY	\# 0					; Hex empty rdata
@	DNSKEY	65536	0	0	AA==		; Type overflow
@	DNSKEY	0	256	0	AA==		; Key tag overflow
@	DNSKEY	0	0	256	AA==		; Algorithm overflow
@	DNSKEY	0	0	0	A		; Continuous block length must be multiple of 4
@	DNSKEY	0	0	0	AB		; Continuous block length must be multiple of 4
@	DNSKEY	0	0	0	ABC		; Continuous block length must be multiple of 4
@	DNSKEY	0	0	0	AA ==		; Continuous 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 padding
@	DNSKEY	0	0	0	===		; Bad padding
@	DNSKEY	0	0	0	====		; Bad padding
@	DNSKEY	0	0	0			; Missing item