21 lines
329 B
Text
21 lines
329 B
Text
. {
|
|
errors
|
|
cancel
|
|
|
|
# Only allow requests to `.docker` records
|
|
view docker {
|
|
expr name() endsWith '.docker.'
|
|
}
|
|
|
|
# Strip the `.docker` suffix
|
|
rewrite name suffix .docker . answer auto
|
|
|
|
# Forward requests to Docker's DNS server
|
|
forward . 127.0.0.11
|
|
}
|
|
|
|
. {
|
|
acl {
|
|
block
|
|
}
|
|
}
|