Project

General

Profile

Actions

Feature #14731

closed

Unbound Advanced Settings entry for ``sock-queue-timeout``

Added by Marcos M 8 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Resolver
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.09
Release Notes:
Default

Description

sock-queue-timeout was introduced in unbound 1.18.0.

https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html

UDP queries that have waited in the socket buffer for a long time can be dropped. The time is set in seconds, 3 could be a good value to ignore old queries that likely the client does not need a reply for any more. This could happen if the host has not been able to service the queries for a while, i.e. Unbound is not running, and then is enabled again. It uses timestamp socket options. Default: 0 (disabled)

Before the feature can be implemented, the port will need to be updated upstream then pulled.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273456


Related issues

Follows Todo #14732: Update Unbound to 1.18.0ResolvedChristian McDonald

Actions
Actions #1

Updated by Marcos M 8 months ago

  • Description updated (diff)
Actions #2

Updated by Marcos M 8 months ago

  • Status changed from New to Waiting on Merge
Actions #3

Updated by Christian McDonald 8 months ago

  • Parent task set to #14732
Actions #4

Updated by Jim Thompson 8 months ago

suggest changing the description on this to include "Unbound"

Actions #5

Updated by Marcos M 8 months ago

  • Subject changed from Add the option ``sock-queue-timeout`` to the Advanced Settings GUI to Add the option ``sock-queue-timeout`` to the Unbound Advanced Settings GUI
Actions #6

Updated by Christian McDonald 8 months ago

  • Status changed from Waiting on Merge to Pull Request Review
  • Target version set to CE-Next
  • Plus Target Version set to 23.09
Actions #7

Updated by Christian McDonald 8 months ago

Unbound has now been updated to 1.18.0, this is now ready to land

Actions #8

Updated by Jim Pingle 8 months ago

  • Parent task deleted (#14732)
Actions #9

Updated by Jim Pingle 8 months ago

Actions #10

Updated by Jim Pingle 8 months ago

Changed from a subtask to "follows" otherwise this would prevent us from closing the Unbound update task until this was also closed, and it isn't a hard requirement.

Actions #11

Updated by Marcos M 8 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #12

Updated by Jim Pingle 8 months ago

  • Subject changed from Add the option ``sock-queue-timeout`` to the Unbound Advanced Settings GUI to Unbound Advanced Settings entry for ``sock-queue-timeout``
  • Target version changed from CE-Next to 2.8.0

Updating subject for release notes.

Actions #13

Updated by Jim Pingle 7 months ago

  • Status changed from Feedback to New

If you remove the value from the field so it's blank, then save, the config it generates is not valid and unbound won't start.

The config.xml entry looks like:

<sock_queue_timeout></sock_queue_timeout>

The unbound.conf file ends up with the following line:

sock-queue-timeout: 

Manually entering a value of 0 allows it to start and run.

Actions #14

Updated by Marcos M 7 months ago

  • Status changed from New to Feedback
Actions #15

Updated by Marcos M 6 months ago

  • Status changed from Feedback to Resolved

An empty value now defaults to 0 as expected.

Actions #16

Updated by Jim Pingle 6 months ago

  • Target version changed from 2.8.0 to 2.7.1
Actions

Also available in: Atom PDF