aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 954500f6e..2e430aee5 100644
--- a/README.md
+++ b/README.md
@@ -9,3 +9,19 @@ here](https://miek.nl/tags/coredns/).
<https://caddyserver.com/> is also full of examples on how to structure a Corefile (renamed from
Caddyfile when I forked it).
+
+# Resolver
+
+Start a simple resolver (proxy):
+
+`Corefile` contains:
+
+~~~
+.:1053 {
+ proxy . 8.8.8.8:53
+}
+~~~
+
+Just start CoreDNS: `./coredns`.
+And then just query on that port (1053), the query should be forwarded to 8.8.8.8 and the response
+will be returned.