diff options
author | 2016-03-18 21:36:42 +0000 | |
---|---|---|
committer | 2016-03-18 21:36:42 +0000 | |
commit | 9112c58edb0fe1f1f2be4e62ea5011c372cdf1d5 (patch) | |
tree | ea8e307e2608d785a736c07f6a15825e1bc6990f /README.md | |
parent | f5f6ee832d2ccaa10f723c02770fe2f1360ef55f (diff) | |
download | coredns-9112c58edb0fe1f1f2be4e62ea5011c372cdf1d5.tar.gz coredns-9112c58edb0fe1f1f2be4e62ea5011c372cdf1d5.tar.zst coredns-9112c58edb0fe1f1f2be4e62ea5011c372cdf1d5.zip |
An example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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. |