unbound default configuration only works after reload

Bug #1303477 reported by Alexander Solla
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unbound (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Fresh Saucy Salamander Install:

$ sudo apt-get install unbound
...
Setting up unbound (1.4.20-1) ...
 * Starting recursive DNS server unbound

$ dig @localhost ubuntu.com
; <<>> DiG 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu1.1 <<>> @localhost ubuntu.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 43274
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
...

$ sudo /etc/init.d/unbound restart
 * Restarting recursive DNS server unbound [ OK ]

$ dig @localhost ubuntu.com

; <<>> DiG 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu1.1 <<>> @localhost ubuntu.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 36193
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

$ sudo /etc/init.d/unbound reload
 * Reloading recursive DNS server unbound [ OK ]

; <<>> DiG 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu1.1 <<>> @localhost ubuntu.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35538
...
;; ANSWER SECTION:
ubuntu.com. 600 IN A 91.189.94.156

I'm not sure what is causing this. I am pretty sure it is going on in the Trusty Tahr branch, too (since I was running Trusty when my cloud mysteriously decided to stop working)

Is this expected behavior? It looks like a regression to me. I understand that a reload is supposed to make unbound look at the new configuration, but why wouldn't a restart do that too?

summary: - unbound configuration not respecting restart
+ unbound default configuration only works after reload
Revision history for this message
Jonathan Davies (jpds) wrote :

I can't reproduce this issue on 1.4.22-1ubuntu4/trusty packages.

Changed in unbound (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.