Re: [Windows] [9.16.45] Missing IPv4 DNS prevents tools from working

2024-01-21 Thread Mark Andrews



> On 22 Jan 2024, at 12:26, Ted Mittelstaedt  wrote:
> 
> Yes, this bug can be fixed.
> 
> Just find a software developer and pay him some money.  Or fix it yourself, 
> you have the code.
> 
> I suppose ISC does not want you to buy a paid support subscription to fix 
> this one but maybe they do, you could try contacting them.
> 
> Oh, wait.  You must be wanting this fixed for FREE.   Gotcha!
> 
> Perhaps a review of what the point of Open Source software is might be in 
> order?
> 
> Ted

And it looks like the fix will be to replace the GetNetworkParams call with
GetAdaptersAddresses in lib/irs/win32/resconf.c and go from there to get the
DNS server addresses.  Gentry you may also want to look in
SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters as well as
SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters for the search list.

https://learn.microsoft.com/en-au/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersaddresses

Mark

> On 1/8/2024 9:41 AM, Gentry Deng via bind-users wrote:
>> Hello there,
>> 
>> 
>> Due to an accident my local network is missing IPv4 DNS but has IPv6 DNS so 
>> it has little impact on accessing the internet.
>> 
>> But I found that neither `dig `nor `nslookup` worked, and reported an error:
>> 
>> 
>> ```
>> 
>> C:\Program Files\ISC BIND 9\bin\dig.exe: parse of C:\Program Files\ISC BIND 
>> 9\etc\resolv.conf failed
>> 
>> ```
>> 
>> 
>> There is actually no "resolv.conf" there, they get the DNS from the system 
>> and if IPv4 DNS is missing it will throw an error. Creating "resolv.conf" 
>> manually also does not prevent the problem.
>> 
>> I noticed that version 9.16 is about to be EOL. I wonder if this BUG can be 
>> fixed before EOL? After all, this is the only version of BIND 9 that still 
>> supports the Windows platform.
>> 
>> 
>> Best regards,
>> 
>> Gentry
>> 
> -- 
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
> this list
> 
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

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

-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: [Windows] [9.16.45] Missing IPv4 DNS prevents tools from working

2024-01-21 Thread Ted Mittelstaedt

Yes, this bug can be fixed.

Just find a software developer and pay him some money.  Or fix it 
yourself, you have the code.


I suppose ISC does not want you to buy a paid support subscription to 
fix this one but maybe they do, you could try contacting them.


Oh, wait.  You must be wanting this fixed for FREE.   Gotcha!

Perhaps a review of what the point of Open Source software is might be 
in order?


Ted

On 1/8/2024 9:41 AM, Gentry Deng via bind-users wrote:

Hello there,


Due to an accident my local network is missing IPv4 DNS but has IPv6 
DNS so it has little impact on accessing the internet.


But I found that neither `dig `nor `nslookup` worked, and reported an 
error:



```

C:\Program Files\ISC BIND 9\bin\dig.exe: parse of C:\Program Files\ISC 
BIND 9\etc\resolv.conf failed


```


There is actually no "resolv.conf" there, they get the DNS from the 
system and if IPv4 DNS is missing it will throw an error. Creating 
"resolv.conf" manually also does not prevent the problem.


I noticed that version 9.16 is about to be EOL. I wonder if this BUG 
can be fixed before EOL? After all, this is the only version of BIND 9 
that still supports the Windows platform.



Best regards,

Gentry


--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: [Windows] [9.16.45] Missing IPv4 DNS prevents tools from working

2024-01-08 Thread Ondřej Surý
No, 9.16 is already in the “security or critical bugfixes only” for two years 
(or so). This is a very minor issue on platform that’s being obsoleted. Sorry.

Ondrej 
--
Ondřej Surý — ISC (He/Him)

My working hours and your working hours may be different. Please do not feel 
obligated to reply outside your normal working hours.

> On 8. 1. 2024, at 18:42, Gentry Deng via bind-users 
>  wrote:
> 
> I noticed that version 9.16 is about to be EOL. I wonder if this BUG can be 
> fixed before EOL? After all, this is the only version of BIND 9 that still 
> supports the Windows platform.

-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: [Windows] [9.16.45] Missing IPv4 DNS prevents tools from working

2024-01-08 Thread Marco Moock
Am 09.01.2024 um 01:41:46 Uhr schrieb Gentry Deng via bind-users:

> Due to an accident my local network is missing IPv4 DNS but has IPv6
> DNS so it has little impact on accessing the internet.
> 
> But I found that neither `dig `nor `nslookup` worked, and reported an
> error:

Windows Linux subsystem?

Does it have an IPv6 address?

Run ip a or ifconfig inside it.
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users