From 4fdbec92f8e5c6ae4210cc6b3e9aa8d3da326fb5 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Tue, 26 Dec 2017 20:24:27 +0800 Subject: [PATCH] Add example to use authoritatively --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a60bd48..29cf6c1 100644 --- a/README.md +++ b/README.md @@ -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