Page MenuHomeFreeBSD

openresolv: Trim leading dot from domain name
AbandonedPublic

Authored by des on Jun 27 2026, 2:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 11, 7:13 PM
Unknown Object (File)
Sun, Aug 9, 4:22 PM
Unknown Object (File)
Sat, Aug 8, 6:36 PM
Unknown Object (File)
Fri, Aug 7, 6:13 PM
Unknown Object (File)
Thu, Aug 6, 1:40 PM
Unknown Object (File)
Mon, Aug 3, 3:58 AM
Unknown Object (File)
Wed, Jul 29, 10:08 AM
Unknown Object (File)
Tue, Jul 28, 6:34 PM
Subscribers

Details

Reviewers
siva
Summary

Most domestic broadband routers offer the option to provide names for
addresses on the local network in a private zone served by the router's
builtin forwarder and visible only to clients on the local network.
Some of these routers incorrectly advertise that zone with a leading dot
(e.g. ".home") in their DHCP offers. Unfortunately, Unbound refuses to
start if the name of a forwarding zone has a leading dot. Fix the
common case by trimming a single leading dot from the domain name, but
don't try to fix more complex misconfigurations.

PR: 296305
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74324
Build 71207: arc lint + arc unit