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
9112c58e
Commit
9112c58e
authored
Mar 18, 2016
by
Miek Gieben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
An example
parent
f5f6ee83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
Corefile
Corefile
+0
-6
README.md
README.md
+16
-0
No files found.
Corefile
View file @
9112c58e
.:1053 {
.:1053 {
file db.miek.nl miek.nl
proxy . 8.8.8.8:53
proxy . 8.8.8.8:53
}
}
dns.miek.nl:1053 {
file db.dns.miek.nl
reflect
}
README.md
View file @
9112c58e
...
@@ -9,3 +9,19 @@ here](https://miek.nl/tags/coredns/).
...
@@ -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
<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).
# 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.
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