Hi Nathaniel,
I was trying to reproduce on 16.10.
by default answer came from my DNS
[...]
;; SERVER: 192.168.122.1#53(192.168.122.1)

# Installing bind9
sudo apt-get install bind9
# starting as not by default
sudo systemctl start bind9
# netstat shows me it runs on .53 by default it seems
$ sudo netstat -eeapn | grep named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      
112        21000      2445/named          
# well, fine set 127.0.0.53 in resolv.conf for now (what you do in the gnome 
network manager)
# ready and working, dig now reports me valid resolution from this
$dig ubuntu.com
[...]
;; SERVER: 127.0.0.53#53(127.0.0.53)
# I noted that 127.0.0.1:53 was also grabbed by named, so I checkd this and it 
was working as well
;; SERVER: 127.0.0.1#53(127.0.0.1)

! Not that I'd recommend running bind in default conf, a lot of things
changed and I think this is much easier today without bind at all, see
below for more

I compared the status and ports of the sys after installing and starting bind9
wily [2] and yakkety [3] - they are different, but bind=named in both grabbed 
what you expect.

Also I see:
modified.conffile..etc.apparmor.d.usr.sbin.named: [modified]
Does this have any meaning to the case?
What was the change?


BTW - isn't bind9 a bit heavy for this. You have dnsmask installed and 
intregated anyway.
And since 16.04 you also have systemd-resolve - maybe the introduction of that 
caused a change that affects your usual way to set up. dnsmasq doesn't cache by 
default, but [1] seems easier to me than adding bind as third.

[1]: 
http://askubuntu.com/questions/155163/how-do-i-enable-dns-caching-in-the-networkmanager-controlled-dnsmasq
[2]: http://paste.ubuntu.com/24240001/
[3]: http://paste.ubuntu.com/24240007/

** Changed in: bind9 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1675221

Title:
  Installing Bind9 as a recursive server fails in a default install with
  no editing of files, does not work as a caching server as expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1675221/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to