| 1 |
; Alias form |
| 2 |
0 foo.example.com. |
| 3 |
|
| 4 |
; Service form |
| 5 |
|
| 6 |
; The first form is the simple "use the ownername". |
| 7 |
1 . |
| 8 |
|
| 9 |
; This vector only has a port. |
| 10 |
16 foo.example.com. port=53 |
| 11 |
|
| 12 |
; This example has a key that is not registered, its value is unquoted. |
| 13 |
1 foo.example.com. key667=hello |
| 14 |
|
| 15 |
; This example has a key that is not registered, its value is quoted and |
| 16 |
; contains a decimal-escaped character. |
| 17 |
1 foo.example.com. key667="hello\210qoo" |
| 18 |
|
| 19 |
; Here, two IPv6 hints are quoted in the presentation format. |
| 20 |
1 foo.example.com. ipv6hint="2001:db8::1,2001:db8::53:1" |
| 21 |
|
| 22 |
; This example shows a single IPv6 hint in IPv4 mapped IPv6 presentation format. |
| 23 |
1 example.com. ipv6hint="2001:db8:ffff:ffff:ffff:ffff:198.51.100.100" |
| 24 |
|
| 25 |
; In the next vector, neither the SvcParamValues nor the mandatory keys are |
| 26 |
; sorted in presentation format, but are correctly sorted in the wire-format. |
| 27 |
16 foo.example.org. (alpn=h2,h3-19 mandatory=ipv4hint,alpn |
| 28 |
ipv4hint=192.0.2.1) |
| 29 |
|
| 30 |
; This last vector has an alpn value with an escaped comma and an escaped |
| 31 |
; backslash in two presentation formats. |
| 32 |
16 foo.example.org. alpn="f\\\\oo\\,bar,h2" |
| 33 |
16 foo.example.org. alpn=f\\\092oo\092,bar,h2 |