blob: 4ebbfc89b187a025ff033cbd8b061f0133e42d4b (
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
32
33
|
; Alias form
0 foo.example.com.
; Service form
; The first form is the simple "use the ownername".
1 .
; This vector only has a port.
16 foo.example.com. port=53
; This example has a key that is not registered, its value is unquoted.
1 foo.example.com. key667=hello
; This example has a key that is not registered, its value is quoted and
; contains a decimal-escaped character.
1 foo.example.com. key667="hello\210qoo"
; Here, two IPv6 hints are quoted in the presentation format.
1 foo.example.com. ipv6hint="2001:db8::1,2001:db8::53:1"
; This example shows a single IPv6 hint in IPv4 mapped IPv6 presentation format.
1 example.com. ipv6hint="2001:db8:ffff:ffff:ffff:ffff:198.51.100.100"
; In the next vector, neither the SvcParamValues nor the mandatory keys are
; sorted in presentation format, but are correctly sorted in the wire-format.
16 foo.example.org. (alpn=h2,h3-19 mandatory=ipv4hint,alpn
ipv4hint=192.0.2.1)
; This last vector has an alpn value with an escaped comma and an escaped
; backslash in two presentation formats.
16 foo.example.org. alpn="f\\\\oo\\,bar,h2"
16 foo.example.org. alpn=f\\\092oo\092,bar,h2
|