Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 565
    • Issues 565
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 93
    • Merge requests 93
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #2860
Closed
Open
Issue created Aug 11, 2021 by Artem Boldariev@artemOwner

The DoH endpoint URL in dig might get prepared in wrong format

One of the causes why the problem #2858 (closed) appeared is that the URL in the DoH code might get generated in wrong format at least when IPv6 is used. In particular, in the issue dig was trying to connect to https://::1:444/dns-query instead of https://[::1]:444/dns-query. Obviously, this issue prevents dig from querying servers via its IPv6 addresses (querying hostnames available via IPv6 works fine).

Also, it will always generate a URL starting with https:// regardless of the fact if we use HTTP with encryption or not.

So, while the fix for the problem reported is already prepared (!5319 (merged)), this issue needs to be taken care of as well. The code which prepared the URL needs to be revisited.

Edited Aug 12, 2021 by Artem Boldariev
Assignee
Assign to
Time tracking