Page MenuHomeFreeBSD

openresolv: Trim leading dot from domain name
AbandonedPublic

Authored by des on Sat, Jun 27, 2:28 PM.
Tags
None
Referenced Files
F160833376: D57903.diff
Sun, Jun 28, 10:16 AM
Unknown Object (File)
Sat, Jun 27, 5:08 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