Skip to content

Commit

Permalink
Add a simpler example and improve explanations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Schwartz committed Apr 8, 2021
1 parent f61c70e commit e59c995
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions draft-schwartz-svcb-dns.md
Expand Up @@ -93,10 +93,15 @@ The `dns:` URI scheme {{?DNSURI=RFC4501}} describes a way to represent DNS queri

# Examples

* A resolver at `simple.example` that support DNS over TLS on port 853 (implicitly,
as this is the default protocol and its default port):

_dns.simple.example. 7200 IN SVCB 1 simple.example.

* A resolver at `resolver.example` that supports
* DNS over TLS on `resolver.example`, port 853 and 8530, with `resolver.example` as the Authentication Domain Name (SvcPriority 1 and 2),
* DNS over HTTPS at `https://resolver.example/dns-query{?dns}` (SvcPriority 2), and
* an experimental protocol on `fooexp.resolver.example:5353` (SvcPriority 3):
* DNS over TLS on `resolver.example` ports 853 (implicit in record 1) and 8530 (explicit in record 2), with `resolver.example` as the Authentication Domain Name,
* DNS over HTTPS at `https://resolver.example/dns-query{?dns}` (record 1), and
* an experimental protocol on `fooexp.resolver.example:5353` (record 3):

$ORIGIN resolver.example.
_dns 7200 IN SVCB 1 @ alpn=h2,h3 dohpath=/dns-query{?dns}
Expand Down

0 comments on commit e59c995

Please sign in to comment.