Unbound restarts when host joins network
-
I've been trying to troubleshoot an issue where Unbound seems to restart itself whenever I bring my laptop (wireless) device online. Usually the sequence of events on the DNS log is a few dozen DNS requests (from my laptop) and then this;
Sep 9 12:11:24 unbound 36218:0 debug: duplicate acl address ignored. Sep 9 12:11:22 unbound 36218:0 notice: Restart of unbound 1.9.1. Sep 9 12:11:22 unbound 36218:0 debug: cache memory msg=66072 rrset=66072 infra=8057 val=66288 Sep 9 12:11:22 unbound 36218:0 info: mesh has 1 recursion states (1 with reply, 0 detached), 1 waiting replies, 0 recursion replies sent, 0 replies dropped, 0 states jostled out Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 3: requestlist max 0 avg 0 exceeded 0 jostled 0 Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 3: 1 queries, 0 answers from cache, 1 recursions, 0 prefetch, 0 rejected by ip ratelimiting Sep 9 12:11:22 unbound 36218:0 debug: cache memory msg=66072 rrset=66072 infra=8057 val=66288 Sep 9 12:11:22 unbound 36218:0 info: mesh has 1 recursion states (1 with reply, 0 detached), 1 waiting replies, 0 recursion replies sent, 0 replies dropped, 0 states jostled out Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 2: requestlist max 0 avg 0 exceeded 0 jostled 0 Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 2: 1 queries, 0 answers from cache, 1 recursions, 0 prefetch, 0 rejected by ip ratelimiting Sep 9 12:11:22 unbound 36218:0 debug: cache memory msg=66072 rrset=66072 infra=8057 val=66288 Sep 9 12:11:22 unbound 36218:0 info: mesh has 1 recursion states (1 with reply, 0 detached), 2 waiting replies, 0 recursion replies sent, 0 replies dropped, 0 states jostled out Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 1: requestlist max 1 avg 0.5 exceeded 0 jostled 0 Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 1: 2 queries, 0 answers from cache, 2 recursions, 0 prefetch, 0 rejected by ip ratelimiting Sep 9 12:11:22 unbound 36218:0 debug: cache memory msg=66072 rrset=66072 infra=8057 val=66288 Sep 9 12:11:22 unbound 36218:0 info: mesh has 0 recursion states (0 with reply, 0 detached), 0 waiting replies, 0 recursion replies sent, 0 replies dropped, 0 states jostled out Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 0: requestlist max 0 avg 0 exceeded 0 jostled 0 Sep 9 12:11:22 unbound 36218:0 info: server stats for thread 0: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting Sep 9 12:11:22 unbound 36218:0 info: service stopped (unbound 1.9.1).I can't really tell why the service is restarting. This is a very common occurrence and sometimes take up to a minute for me to resolve anything as it restarts a few times. This only seems to happen when I open my laptop up. Anyone have any insight?
-
@bhjitsense said in Unbound restarts when host joins network:
Anyone have any insight?
Yep.
When a new DHCP lease comes in, and you have checked "DHCP Registration" :
then the Resolver (unbound) gets restarted.
Solution :
Define a static lease for your portable - this way it will always obtain the same IP, and .... the Resolver will know about it upfront, and doesn't get restart any more.
The "Static DHCP" should be checked.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy