commit 52330589ff3b5d9a71fc11c3f77434f12a9965be Author: Arthur Lakiza Date: Sun Jun 15 22:46:55 2025 +0300 Init CoreDNS diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..7eb4a70 --- /dev/null +++ b/Corefile @@ -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 +} diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..48ab16a --- /dev/null +++ b/docker-compose.yml @@ -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