Skip to content

Commit

Permalink
add coredns
Browse files Browse the repository at this point in the history
  • Loading branch information
metavige committed Dec 20, 2022
1 parent aacea2e commit e1156e1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions coredns/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
coredns:
image: coredns/coredns
privileged: true
ports:
- 10053:53/udp
- 10053:53/tcp
volumes:
- ./etc:/root:ro
command: -conf /root/Corefile
6 changes: 6 additions & 0 deletions coredns/etc/Corefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.:53 {
file docker.internal
forward . 8.8.8.8 1.1.1.1
log
errors
}

0 comments on commit e1156e1

Please sign in to comment.