Commit something which kinda works
This commit is contained in:
commit
2048ae5663
2 changed files with 25 additions and 0 deletions
18
Corefile
Normal file
18
Corefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
. {
|
||||
log
|
||||
errors
|
||||
|
||||
view docker {
|
||||
expr name() matches '^[a-z]+\\.$'
|
||||
}
|
||||
|
||||
rewrite name suffix .docker . answer auto
|
||||
|
||||
forward . 127.0.0.11
|
||||
}
|
||||
|
||||
. {
|
||||
acl {
|
||||
block
|
||||
}
|
||||
}
|
7
docker-compose.yml
Normal file
7
docker-compose.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
services:
|
||||
coredns:
|
||||
image: coredns/coredns
|
||||
volumes:
|
||||
- ./Corefile:/home/nonroot/Corefile:ro
|
||||
ports:
|
||||
- 5353:53/udp
|
Loading…
Reference in a new issue