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)
Apr 8 2024, 7:28 PM
Unknown Object (File)
Mar 19 2024, 10:52 AM
Unknown Object (File)
Jan 10 2024, 1:23 AM
Unknown Object (File)
Dec 20 2023, 8:09 AM
Unknown Object (File)
Dec 12 2023, 9:45 AM
Unknown Object (File)
Jul 9 2023, 7:42 PM
Unknown Object (File)
Jun 20 2023, 8:25 AM
Unknown Object (File)
Mar 5 2023, 6:02 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.