[Bug 1303477] [NEW] unbound default configuration only works after reload

Alexander Solla alex.solla at gmail.com
Sun Apr 6 21:05:36 UTC 2014


Public bug reported:

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?

** Affects: unbound (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- unbound configuration not respecting restart
+ unbound default configuration only works after reload

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to unbound in Ubuntu.
https://bugs.launchpad.net/bugs/1303477

Title:
  unbound default configuration only works after reload

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



More information about the Ubuntu-server-bugs mailing list