I'm actually trying to create a DNS resolver for my local network, to do so, I choosed to use unbound, so I installed it on an Arch Linux server, and it's working, but only for the local machine (, not for the network (I want to open it to IP in the range, which I think correspond to, but I can't find what's wrong with my configuration file, the resolver simply respond when I do "dig @ example.com" or "dig @ example.com" on the local machine but not when I do it on other computer of the network (which is, if you want to know), I get no error from unbound, it simply don't seem to get the request from the computer which is part of the local network.

Here is the config file I use :

# Maximum verbosity
verbosity: 5

# Answer queries from
# The local machine
interface: ::1
# The local machine on the network

# Default DNS port
port: 53

# Save in cache for an hour to a day
cache-min-ttl: 3600
cache-max-ttl: 86400

# Enable IPv4, IPv6, UDP and TCP requests
do-ip4: yes
do-ip6: yes
do-udp: yes
do-tcp: yes

# Launch in a deamon (temporarily disabled)
# do-daemonize: yes

# Deny all the Internet (temporarily refuse)
access-control: refuse
access-control: ::0/0 refuse
# Allow localhost
access-control: allow
access-control: ::1 allow
# Allow network from to
access-control: allow
access-control: 2001:db8::/108 allow

# List of DNS root zone (automatically downloaded every 5 days with a CRON)
root-hints: "named.cache"

# Hide identity and version
hide-identity: yes
hide-version: yes

# Localhost
private-address: ::1
# Network
private-address: 2001:db8::/108

# Prevent from resolving network IPs
do-not-query-localhost: yes

# Prefetch old-cached DNS responses
prefetch: yes

Thanks in advance for your responses.

  • @aaron : If you look carefully, the directive is on the top of the file, the only thing is that there is no <Tab> here because I don't know how to keep them is the snppet. – user342194 Mar 6 '16 at 14:10
  • Revised: Start with the example at calomel.org and adjust their ACL's. – Aaron Mar 6 '16 at 15:03
up vote 2 down vote accepted

Check whether you have a firewall running. That would allow the local answers but inbound queries would be dropped.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.