ventz / docker-bind

Docker Hub ventz/bind - Secure ISC BIND (Authoritative, Recursive, Slave, RPZ) - Docker image always latest built!
https://hub.docker.com/r/ventz/bind/
34 stars 37 forks source link

cannot get to forward queries for unknown names #22

Closed gilesbradshaw closed 5 years ago

gilesbradshaw commented 5 years ago

I've commented out allow query https://github.com/ventz/docker-bind/blob/7cd47081299098e359caa802bb44d5b133e09944/container/configs/named.conf.options#L23

forwarders are set up as 8.8.8.8 and 8.8.4.4

I've managed to set up my own lookups which work:

$ host zone10.sigyl 192.168.99.102
Using domain server:
Name: 192.168.99.102
Address: 192.168.99.102#53
Aliases: 

zone10.sigyl has address 192.168.99.103

however when I try and query another name I get..

$ host google.com 192.168.99.102
Using domain server:
Name: 192.168.99.102
Address: 192.168.99.102#53
Aliases: 

Host google.com not found: 5(REFUSED)

any ideas?

many thanks

gilesbradshaw commented 5 years ago

ps from inside the container...

# host google.com 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases: 

google.com has address 172.217.169.78
google.com has IPv6 address 2a00:1450:4009:81a::200e
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com
gilesbradshaw commented 5 years ago

I fixed it - it was this https://github.com/ventz/docker-bind/blob/7cd47081299098e359caa802bb44d5b133e09944/container/configs/named.conf.options#L63