Init CoreDNS

This commit is contained in:
Arthur Lakiza 2025-06-15 22:46:55 +03:00
commit 52330589ff
2 changed files with 23 additions and 0 deletions

10
Corefile Normal file
View File

@ -0,0 +1,10 @@
.:53 {
hosts {
10.16.104.70 dx07.solution.ps sso-dx07.solution.ps
fallthrough
}
forward . 77.88.8.8
log
errors
}

13
docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
services:
coredns:
image: coredns/coredns:1.12.2
container_name: coredns
ports:
- 53:53/udp
- 53:53/tcp
volumes:
- ./Corefile:/Corefile
command: -conf /Corefile
cap_add:
- NET_ADMIN
restart: always