summaryrefslogtreecommitdiffstats
path: root/tests/libzscanner/data/25_SOA.in
blob: bf093d47e62c9705d443cd4eb068bd25d8260efe (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
$ORIGIN	.
$TTL	1

; OK
@	SOA	@	@	0	0 0 0 0		; The simplest variant
@	SOA	tld.	tld	0	0 0 0 0 	; Absolute and relative dnames.
@	SOA	@	@	4294967295 0 0 0 0	; Maximal serial
@	SOA	@	@	0 4294967295 4294967295 4294967295 4294967295	; Maximal times
@	SOA	@	@	0	1d 1h 1m 1s	; Time units
@	TYPE6	\# 22 00 00 0000000000000000000000000000000000000000	; TYPE + Hexadecimal rdata
@	TYPE6	@	@       0       0 0 0 0		; TYPE
@	SOA	ns.tld. first\.second.tld. (		; Multiline record
	2007120710
	1w2d3h4m5s
	2h
	3m
	4s
)
@	soa	@	@       0       0 0 0 0		; Type in lower-case

; KO
@	SOA
@	SOA						; Empty rdata
@	SOA	\# 0					; Hex empty rdata
@	SOA	@	@	1h	0 0 0 0		; Bad number
@	SOA	@	@	4294967296 0 0 0 0	; Serial overflow
@	SOA	@	@	0 4294967296 0 0 0	; Refresh overflow
@	SOA	@	@	0 0 4294967296 0 0	; Retry overflow
@	SOA	@	@	0 0 0 4294967296 0	; Expire overflow
@	SOA	@	@	0 0 0 0 4294967296	; Minimum overflow
@	SOA	@	@	0 0 0 0 0 x		; Unexpected item