Comments (1)
Without
When starting this image without ALLOW_RECURSION
:
docker run -it --rm \
-e DEBUG_ENTRYPOINT=2 \
-e DOCKER_LOGS=1 \
-p 5553:53/tcp \
-p 5553:53/udp \
-e DNS_A='test.domain=1.2.3.4' \
cytopia/bind
It produces the following in /etc/bind/named.conf.options
options {
directory "/var/cache/bind";
dnssec-validation no;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
max-cache-size 90%;
response-policy { zone "rpz"; };
};
With ALLOW_RECURSION
When starting this image with ALLOW_RECURSION
:
docker run -it --rm \
-e DEBUG_ENTRYPOINT=2 \
-e DOCKER_LOGS=1 \
-p 5553:53/tcp \
-p 5553:53/udp \
-e DNS_A='test.domain=1.2.3.4' \
-e ALLOW_RECURSION=127.0.0.1 \
cytopia/bind
It produces the following in /etc/bind/named.conf.options
options {
directory "/var/cache/bind";
dnssec-validation no;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
max-cache-size 90%;
response-policy { zone "rpz"; };
recursion yes;
allow-recursion {
127.0.0.1;
};
};
So the difference is:
+ recursion yes;
+ allow-recursion {
+ 127.0.0.1;
+ };
Isn't that the desired behaviour?
from docker-bind.
Related Issues (16)
- AWS ALB CNAME support HOT 6
- xargs: unmatched single quote HOT 2
- problem with reverse resolution and multiple EXTRA_HOSTS HOT 7
- Cannot route all subdomains to an IP except the domain itself HOT 1
- query failed (REFUSED) with version (tag) 0.16 HOT 4
- More flexible CNAME/IP support for WILDCARD_DNS and EXTRA_HOSTS HOT 1
- Option for "forward only" ? HOT 1
- Certbot with Bind HOT 5
- container keeps crashing/restarting HOT 4
- Building zone files fails for the debian image in docker compose HOT 1
- [Bug]: timeout when run in no internet network enviroment
- [Feature]: Statistics Channel enable
- [Question]: How do i use host.docker.internal while this service is active HOT 2
- [Feature]: custom zone files
- DNSSEC problems with DNS forwarders HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-bind.