Comments (4)
you only have to add - ALLOW_QUERY=any
version: '2.1'
services:
bind:
image: cytopia/bind:0.15
container_name: bind9
restart: unless-stopped
environment:
- TZ=Europe/Oslo
- WILDCARD_DNS=anon.xyz=192.168.1.5
- EXTRA_HOSTS=sheets.anon.xyz=anon.github.io
- DNS_FORWARDER=208.67.222.222,208.67.220.220,192.168.1.1,8.8.8.8
- DOCKER_LOGS=1
- TTL_TIME=300
- ALLOW_QUERY=any
ports:
- "53:53"
- "53:53/udp"
from docker-bind.
Thanks for the reply, I will try that. But from the documentation I quote;
ALLOW_QUERY | string | Specify a comma separated list of IP addresses with optional CIDR mask to allow queries from a specific IP address or ranges of IP addresses. This allows for control over who is allowed to query the DNS server. If not specified all hosts are allowed to make queries (defaults to any). See BIND QUERIESExample: ALLOW_QUERY=192.168.1.0/24,127.0.0.1 |
---|
I read this to mean that any/*/0.0.0.0/0 IP address can query by default, so this should not be needed. Will try adding it regardless :)
from docker-bind.
Tried out ALLOW_QUERY=any
on the cytopia/bind:0.16 image. Still get the same error.
from docker-bind.
thanks for the issue. I have made a major rewrite which addresses the fix here: #36
The new command to achieve what you've described above will be:
docker run -it --rm \
-e DOCKER_LOGS=1 \
-e DEBUG_ENTRYPOINT=2 \
-p 5300:53/tcp \
-p 5300:53/udp \
-e DNS_A="*.anon.xyz=192.168.1.5" \
-e DNS_CNAME="sheets.anon.xyz=anon.github.io" \
-e DNS_FORWARDER="208.67.222.222, 208.67.220.220, 192.168.1.1, 8.8.8.8" \
-e DOCKER_LOGS=1 \
-e TTL_TIME=300 \
cytopia/bind
from docker-bind.
Related Issues (15)
- 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
- 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
- Completely disable recursion 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
- 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.