Skip to content

dns: getServers returns IPv6 addresses without [] #13795

Description

@refack
  • Version: v5-v9
  • Platform: *
  • Subsystem: dns,ceres

dns.getServers mis formats IPv6 addresses

> d.setServers(['192.168.1.1', '[2001:4860:4860::8888]'])
undefined
> d.getServers()
[ '192.168.1.1', '2001:4860:4860::8888' ]

Activity

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

    caresIssues and PRs related to the c-ares dependency or the cares_wrap binding.dnsIssues and PRs related to the dns subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions