42e4521ff0a62c3389a0538ca0c19a0f1f34cab2 522 Bytes
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
$ORIGIN	.
$TTL	1

; For more tests on dname see NS test (same processing)

; OK
@	MX	0	@		; Minimal priority
@	MX	65535	@		; Maximal priority
@	MX	1	mail		; Relative dname
@	MX	1	mail.tld.	; Absolute dname
@	MX	\# 3 0001 00		; Hexadecimal rdata
@	TYPE15	\# 3 0001 00		; TYPE + Hexadecimal rdata
@	TYPE15	1	@		; TYPE
@	mx	1	@		; Type in lower-case

; KO
@	MX
@	MX				; Empty rdata
@	MX	\# 0			; Hex empty rdata
@	MX	-1	@		; Negative number
@	MX	65536	@		; 16bit overflow
@	MX	1	$		; Bad dname
@	MX	0	@ x		; Unexpected item