Report information
The Basics
Id:
45401
Status:
open
Priority:
Medium/Medium
Queue:

People
Owner:
Nobody in particular
Cc:
AdminCc:

BugTracker
Version Fixed:
(no value)
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Utilities
Area:
bug

Dates
Created:Sat, 17 Jun 2017 07:44:10 -0400
Updated:Tue, 25 Jul 2017 12:11:18 -0400
Closed:Not set



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: DiG 9.11.1-P1 - -6 not working in dig
Date: Sat, 17 Jun 2017 11:44:07 +0000
To: bind-bugs@isc.org
From: "John Poznicek" <johnpoz@gmail.com>
Bug Report from www.isc.org: Name: John Poznicek Email: johnpoz@gmail.com Software Version: DiG 9.11.1-P1 OS: windows server 2012r2 Subject:-6 not working in dig Bug Detail =========== trying to force ipv6 dig query with -6 does not seem to work, while using @IPV6 address does nslookup works and defaults to using ipv6 for dns > nslookup Default Server: pfsense.local.lan Address: 2001:470:1f11:9c4::1 But dig -6 host fails errors with connection timed out; no servers could be reached But if you use dig @IPV6address host works fine. --- This email was received through isc.org Bug Submission Form
Subject: Re: [ISC-Bugs #45401] DiG 9.11.1-P1 - -6 not working in dig
Date: Mon, 19 Jun 2017 15:15:21 +1000
To: bind9-bugs@isc.org
From: "Mark Andrews" <marka@isc.org>
In message <rt-4.2.8-55908-1497699850-308.45401-3-0@isc.org>, "John Poznicek vi a RT" writes: > nslookup works and defaults to using ipv6 for dns > > nslookup > Default Server: pfsense.local.lan > Address: 2001:470:1f11:9c4::1 We need to update the windows code that retrieves the list of name server addresses from the system from GetNetworkParams to GetAdaptersAddresses based on a little Googling. * GetNetworkParams only returns the IPv4 addresses. * GetAdaptersAddresses returns both IPv4 and IPv6 addresses depending upon the calling arguments. Populating resolv.conf with the nameserver address rather that reading them from the system with GetNetworkParams/GetAdaptersAddresses will let 'dig -6' work. This does have the obvious limitation that the contents are likely to get out of date as the OS will not be updating it. 'dig -6 @<servername>' works regardless of the method used to populate the default server list. e.g. dig -6 @f.root-servers.net soa . Note: the nslookup above is Microsoft's version not BIND's. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org
Subject: Re: [ISC-Bugs #45401] DiG 9.11.1-P1 - -6 not working in dig
Date: Mon, 19 Jun 2017 05:37:25 -0500
To: bind9-bugs@isc.org
From: "John Poznicek" <johnpoz@gmail.com>
Yeah I know - was just using it to show that windows did have valid ipv6 and its tools were working.

So when will the code be updated?

On Mon, Jun 19, 2017 at 12:15 AM, Mark Andrews via RT <bind9-bugs@isc.org> wrote:

In message <rt-4.2.8-55908-1497699850-308.45401-3-0@isc.org>, "John Poznicek vi
a RT" writes:
> nslookup works and defaults to using ipv6 for dns
> > nslookup
> Default Server:  pfsense.local.lan
> Address:  2001:470:1f11:9c4::1

We need to update the windows code that retrieves the list of name
server addresses from the system from GetNetworkParams to
GetAdaptersAddresses based on a little Googling.

* GetNetworkParams only returns the IPv4 addresses.
* GetAdaptersAddresses returns both IPv4 and IPv6 addresses
  depending upon the calling arguments.

Populating resolv.conf with the nameserver address rather that
reading them from the system with GetNetworkParams/GetAdaptersAddresses
will let 'dig -6' work.  This does have the obvious limitation that
the contents are likely to get out of date as the OS will not be
updating it.

'dig -6 @<servername>' works regardless of the method used to
populate the default server list.

e.g.
        dig -6 @f.root-servers.net soa .

Note: the nslookup above is Microsoft's version not BIND's.

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org




On Mon Jun 19 00:37:32 2017, johnpoz@gmail.com wrote: > Yeah I know - was just using it to show that windows did have valid ipv6 > and its tools were working. > > So when will the code be updated? I don't know at this stage. Basically when time becomes available to rewrite that section of code.