69292a0515ff6031dc1ff47604ca517c658003a3 1.14 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
$ORIGIN	.
$TTL	1

; OK
@	IPSECKEY	0	0	0	.			; The simplest variant - no gw, no key
@	IPSECKEY	255	3	255	.	AA==		; Maximal numbers
@	IPSECKEY	0	1	0	0.0.0.0			; IPv4 address
@	IPSECKEY	0	2	0	::			; IPv6 address
@	IPSECKEY	0	3	0	\0320\ \\\"\.\@\*.tld.	; Special chars in domain name
@	IPSECKEY	0	0	1	.	Zm8=            ; One char padding
@	IPSECKEY	0	0	1	.	Zm9v            ; Without padding
@	IPSECKEY	0	0	1	.	Zm9vYg==        ; Two bae6s4 blocks
@	IPSECKEY	0	0	1	.	ZmKEY	0	0	1	.	Zm8=            ; One char padding
@	IPSECKEY	0	0	1	.	Zm9v            ; Without padding
@	IPSECKEY	0	0	1	.	Zm9vYg==        ; Two bae6s4 blocks
@	IPSECKEY	0	0	1	.	Zm9v YmE=       ; Two base64 blocks with blank space between them
@	TYPE45	\# 3 000000						; TYPE + Hexadecimal rdata
@	TYPE45		0	0	1	.	AA==		; TYPE
@	ipseckey	0	0	1	.	AA==		; Type in lower-case

; KO
@	IPSECKEY
@	IPSECKEY							; Empty rdata
@	IPSECKEY	\# 0					; If alg is 0 then key shouldn't be given
@	IPSECKEY	0	0	0	a%			; Bad domain name char
@	IPSECKEY	0	0	1	.	A		; Contnuous block length must be mulEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEtiple of 4
@	IPSECKEY	0	0	1	.	=		; Bad padding
@	IPSECKEY	0	0					; Missing item