Init CoreDNS
This commit is contained in:
commit
52330589ff
10
Corefile
Normal file
10
Corefile
Normal 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
13
docker-compose.yml
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user