Page MenuHomeFreeBSD

resolver.5: Add an EXAMPLES section
ClosedPublic

Authored by gbe on Oct 27 2022, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 21, 4:59 PM
Unknown Object (File)
Oct 9 2024, 5:56 AM
Unknown Object (File)
Oct 4 2024, 6:44 PM
Unknown Object (File)
Oct 4 2024, 11:11 AM
Unknown Object (File)
Oct 2 2024, 3:19 AM
Unknown Object (File)
Oct 1 2024, 4:40 AM
Unknown Object (File)
Sep 28 2024, 10:20 PM
Unknown Object (File)
Sep 28 2024, 10:19 PM

Details

Summary

In case unbound(8) fails for some reason, it could be usefull
to have a basic resolv.conf(5) example in the manual page.

MFC after: 1 week

Test Plan

mandoc output review and 'mandoc -Tlint' checks

Diff Detail

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

Event Timeline

gbe requested review of this revision.Oct 27 2022, 8:09 PM

I'm not an unbound expert; I use named. It probably makes sense to get an unbound expert to weigh in.

share/man/man5/resolver.5
224

Did you want to describe this as backup? But it overrides unbound, so you wouldn't want to install it unless unbound was broken. Maybe you want to use a "server" at 127.0.0.1 for unbound first?

226

Is this necessary? It shouldn't be if the default domain is part of the hostname.

229

Why the local router? Are you assuming it runs a DNS resolver or server?

pauamma_gundo.com added inline comments.
share/man/man5/resolver.5
229

My local router is a VDSL Internet-in-a-box thingy, so that's a possibility for basic consumer connections.

232–233

Conversely, not sure these are worth it as fallbacks. (They may as primary servers, if the local router's DNS implementation sulks at unbound, EDNS0, or both.) But I don't remember my router's DNS not working for reasons other than a line outage, in which case remote nameservers won't help.

237

I'd add a caveat here to remove it if the local router sulks.

share/man/man5/resolver.5
229

Not all routers provide DNS services, so the comment is misleading or confusing. Maybe just say something like "local or ISP name service"?

  • Update resolve.conf example
gbe marked 7 inline comments as done.Nov 6 2022, 11:41 AM

Address comments.

Remaining nit fixable on commit.

share/man/man5/resolver.5
228

Verb here, not noun.

This revision is now accepted and ready to land.Nov 6 2022, 12:31 PM
This revision was automatically updated to reflect the committed changes.