1
Fork 0

Commit something which kinda works

This commit is contained in:
Jake Howard 2023-11-14 20:47:59 +00:00
commit 2048ae5663
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 25 additions and 0 deletions

18
Corefile Normal file
View 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
View File

@ -0,0 +1,7 @@
services:
coredns:
image: coredns/coredns
volumes:
- ./Corefile:/home/nonroot/Corefile:ro
ports:
- 5353:53/udp