File: 35_IPSECKEY.in

package info (click to toggle)
knot 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,804 kB
  • sloc: ansic: 153,806; sh: 5,822; python: 1,141; makefile: 817
file content (29 lines) | stat: -rw-r--r-- 1,128 bytes parent folder | download | duplicates (10)
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
$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 base64 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						; Hex empty rdata
@	IPSECKEY	256	0	0	.			; Precedence overflow
@	IPSECKEY	0	4	0	.			; Unknown gateway
@	IPSECKEY	0	0	256	.	AA==		; Algorithm overflow
@	IPSECKEY	0	0	0	.	AA==		; If alg is 0 then key shouldn't be given
@	IPSECKEY	0	0	0	a%			; Bad domain name char
@	IPSECKEY	0	0	1	.	A		; Continuous block length must be multiple of 4
@	IPSECKEY	0	0	1	.	=		; Bad padding
@	IPSECKEY	0	0					; Missing item