Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
b3b6fe48
Commit
b3b6fe48
authored
Apr 03, 2016
by
Miek Gieben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
beef up some examples
parent
4e723da1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
3 deletions
+44
-3
README.md
README.md
+44
-3
No files found.
README.md
View file @
b3b6fe48
...
@@ -37,13 +37,13 @@ know and how we can help.
...
@@ -37,13 +37,13 @@ know and how we can help.
<https://caddyserver.com/>
is also full of examples on how to structure a Corefile (renamed from
<https://caddyserver.com/>
is also full of examples on how to structure a Corefile (renamed from
Caddyfile when I forked it).
Caddyfile when I forked it).
##
Proxy
##
Examples
Start a simple proxy:
Start a simple proxy:
`Corefile`
contains:
`Corefile`
contains:
~~~
~~~
txt
.:1053 {
.:1053 {
proxy . 8.8.8.8:53
proxy . 8.8.8.8:53
}
}
...
@@ -53,6 +53,47 @@ Just start CoreDNS: `./coredns`.
...
@@ -53,6 +53,47 @@ 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
And then just query on that port (1053), the query should be forwarded to 8.8.8.8 and the response
will be returned.
will be returned.
# Blog
Serve the (NSEC) DNSSEC signed
`miek.nl`
on port 1053, errors and logging to stdout. Allow zone
transfers to everybody.
~~~
txt
miek.nl:1053 {
file /var/lib/bind/miek.nl.signed {
transfer to *
}
errors stdout
log stdout
}
~~~
Serve
`miek.nl`
on port 1053, but forward everything that does
*not*
match
`miek.nl`
to a recursive
nameserver
*and*
rewrite ANY queries to HINFO.
~~~
txt
.:1053 {
rewrite ANY HINFO
proxy . 8.8.8.8:53
file /var/lib/bind/miek.nl.signed miek.nl {
transfer to *
}
errors stdout
log stdout
}
~~~
All the above examples are possible with the
*current*
CoreDNS.
## What remains to be done
*
Website?
*
Logo?
*
Code simplifications/refactors.
*
Optimizations.
*
Load testing.
*
All the
[
issues
](
https://github.com/miekg/coredns/issues
)
.
## Blog
<https://miek.nl/tags/coredns/>
<https://miek.nl/tags/coredns/>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment