Skip to content

README, library.md and ARCHITECTURE say -r resolver pools are plain UDP #471

Done

Description

@TMHSDigital

Summary

Since #404 the -r resolver pool accepts DoT and DoH members, but README, the library guide and ARCHITECTURE still say pools are plain UDP. The README contradicts itself.

Where

  • README.md:450: "-r resolver pools are plain UDP; with -r, an encrypted -dns-server is the trusted resolver"
  • docs/library.md:120: ResolverPool "Extra plain-UDP resolvers."
  • docs/ARCHITECTURE.md:177: "dns.NewPoolFromLines parses the -r file (ip or ip:port, port 53 by default)"

Details

subenum -h, the README's own -r row (README.md:279), and the godoc of Config.ResolverPool (pkg/subenum/subenum.go:67) all list tls://host[:port] and https://host/path. pkg/subenum/subenum.go:754 passes the list to dns.NewPoolFromLines unchanged.

Impact

A user on a network that blocks UDP/53 reads that the pool cannot be encrypted, and either skips -r or sends pool traffic in clear. Library users are told the same.

Suggested fix

  • README.md:450: pool members take any -dns-server form, including tls:// and https://.
  • docs/library.md:120: "Extra resolvers in any Resolver form (ip:port, tls://host, https://host/path)".
  • docs/ARCHITECTURE.md:177: list the tls/https forms.

Related: #404


Filed by repo-audit/full-audit at a45b999. Severity: medium. Effort: S. audit-key: documentation|README.md|-r resolver pool transports

Activity

  1. added
    documentation
    good first issue
    area: docs
    severity: medium
    on Nov 29, 2026
  2. TMHSDigital commented on Nov 29, 2026

    @TMHSDigital
    OwnerAuthor

    Fixed in a6f3411: README.md, docs/library.md and docs/ARCHITECTURE.md now say -r pool members take any -dns-server form, tls:// and https:// included, matching -h and the Config.ResolverPool godoc. Docs-only; the doc-checking tests in internal/cli, tools and pkg/subenum pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsdocumentationgood first issueseverity: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions