File: 28_TYPE.in

package info (click to toggle)
knot 3.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,880 kB
  • sloc: ansic: 154,039; sh: 5,963; python: 1,141; makefile: 818
file content (27 lines) | stat: -rw-r--r-- 666 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
$ORIGIN	.
$TTL	1

; OK
@	TYPE0		\# 0			; Minimal type number
@	TYPE65535	\# 0			; Maximal type number
@	TYPE55555	\# 0			; 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				; Bad type
@	TYPE55555	\#			; Missing hex length
@	TYPE55555	\# 1 0000		; Too long rdata
@	TYPE55555	\# 2 00			; Bad rdata length
@	TYPE55555	\# 1 00 x		; Unexpected data