Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unbound restarts when host joins network

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 360 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bhjitsense
      last edited by bhjitsense

      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?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @bhjitsense
        last edited by

        @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" :

        7f8b8dab-131f-4df5-a498-b95ae1462b3c-image.png

        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.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.