Page MenuHomeFreeBSD

openresolv: Trim leading dot from domain name
AbandonedPublic

Authored by des on Sat, Jun 27, 2:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 5, 10:13 PM
Unknown Object (File)
Sun, Jul 5, 12:56 AM
Unknown Object (File)
Sat, Jul 4, 10:04 PM
Unknown Object (File)
Fri, Jul 3, 4:34 AM
Unknown Object (File)
Thu, Jul 2, 11:28 AM
Unknown Object (File)
Thu, Jul 2, 11:28 AM
Unknown Object (File)
Thu, Jul 2, 11:28 AM
Unknown Object (File)
Thu, Jul 2, 11:28 AM
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