1
0
Fork 0

Add example to use authoritatively

pull/4/head
Ambrose Chua 2017-12-26 20:24:27 +08:00 committed by GitHub
parent 9927fef4e9
commit 4fdbec92f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -22,14 +22,25 @@ dns64 {
## Examples
In recursive resolver mode:
~~~
# Perform dns64 AAAA synthesizing using 8.8.8.8 for resolving any A
dns64 {
upstream 8.8.8.8:53
}
proxy . 8.8.8.8:53
~~~
Perform dns64 AAAA synthesizing using 8.8.8.8 for resolving any A records.
To make DNS64 resolve authoritatively, do:
~~~
dns64 {
   upstream localhost:53
   # caveat: additional round trip through networking stack
}
file example.com.db
~~~
## See Also