"Fossies" - the Fresh Open Source Software Archive

Member "knot-2.8.3/tests/libzscanner/data/32_APL.in" (16 Jul 2019, 1079 Bytes) of package /linux/misc/dns/knot-2.8.3.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 $ORIGIN	.
    2 $TTL	1
    3 
    4 ; OK
    5 @	APL				; The simplest variant - blank list
    6 @	APL	1:0.0.0.0/0		; Minimal ipv4 prefix length
    7 @	APL	1:255.255.255.255/32	; Maximal ipv4 prefix length
    8 @	APL	1:255.255.255.255/30	; Prefix length isn't multiple of 8
    9 @	APL	2:::/0			; Minimal ipv6 address
   10 @	APL	2:0::0/0		; Minimal ipv6 prefix length
   11 @	APL	2:0::0/128		; Maximal ipv6 prefix length
   12 @	APL	2:FFFF:FFFF:FFFF::/2	; Trailing zeroes test
   13 @	APL	!1:0.0.0.0/0		; Negation flag
   14 @	APL	1:0.0.0.0/0 1:255.255.255.255/32	; More APLs
   15 @	TYPE42	\# 4 00010000		; TYPE + Hexadecimal rdata
   16 @	TYPE42	1:0.0.0.0/0		; TYPE
   17 @	APL	\# 0			; Zero length rdata
   18 @	apl	1:0.0.0.0/0		; Type in lower-case
   19 
   20 ; KO
   21 @	APL	0:0.0.0.0/32		; Bad address family
   22 @	APL	x:0.0.0.0/32		; Bad address family
   23 @	APL	!x:0.0.0.0/32		; Bad address family
   24 @	APL	2:0.0.0.0/32		; Address family mismatch
   25 @	APL	1:0::0/32		; Address family mismatch
   26 @	APL	1:0.0.0.0/33		; Prefix length is too long
   27 @	APL	2:0::0/129		; Prefix length is too long
   28 @	APL	2::/0			; Bad ipv6 address
   29 @	APL	2:0::0/x		; Bad prefix length
   30 @	APL	1:0.0.0.0/		; Missing prefix length