Page MenuHomeFreeBSD

local-unbound-setup: Set so-sndbuf to 0
ClosedPublic

Authored by des on Oct 8 2025, 9:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 20, 5:26 PM
Unknown Object (File)
Fri, Apr 17, 3:14 AM
Unknown Object (File)
Sun, Apr 12, 4:31 PM
Unknown Object (File)
Sun, Apr 5, 7:22 AM
Unknown Object (File)
Tue, Mar 31, 8:28 AM
Unknown Object (File)
Tue, Mar 31, 4:32 AM
Unknown Object (File)
Mon, Mar 30, 10:13 PM
Unknown Object (File)
Mar 22 2026, 11:53 PM
Subscribers

Details

Summary

Without this setting, Unbound 1.24.0 and newer will attempt to set the
socket buffer size to 4 MB to mitigate issues that mostly affect servers
with large numbers of clients on local networks, which is not a scenario
local-unbound is intended for. This is not only a waste of resources,
it can also fail, resulting in a warning message on daemon startup.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Oct 8 2025, 9:57 AM
This revision is now accepted and ready to land.Oct 8 2025, 12:40 PM
This revision was automatically updated to reflect the committed changes.