Page 1 of 1

Windows 11 ignoring WINS server

Posted: Mon Oct 17, 2022 5:07 pm
by sjbotha
On a Windows 11 computer after connecting with openvpn Windows will not use the WINS server to resolve names. This same openvpn configuration works fine on another Windows 10 computer. I am able to contact the WINS server via SSH and also using the nblookup program.

You can see the WINS server here and node type is H so it should query the WINS server before trying broadcast:

Code: Select all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : SarelVostro
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : home
   
Unknown adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9 #2
   Physical Address. . . . . . . . . : 00-FF-22-72-FE-EF
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::6185:bb43:2410:444a%9(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.8.2.18(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.252
   Lease Obtained. . . . . . . . . . : Monday, October 17, 2022 12:48:15 PM
   Lease Expires . . . . . . . . . . : Tuesday, October 17, 2023 12:48:15 PM
   Default Gateway . . . . . . . . . :
   DHCP Server . . . . . . . . . . . : 10.8.2.17
   DHCPv6 IAID . . . . . . . . . . . : 687931170
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2A-7D-C2-97-C8-4B-D6-37-D8-3F
   Primary WINS Server . . . . . . . : 10.8.2.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

The nblookup program is able to contact the WINS server and get a result so openvpn communication is fine. You can see if I try to ping then Windows does not try to contact the WINS server:

Code: Select all

C:\Users\SarelBotha\Downloads\nblookup>nblookup app1

Recursion is on

Querying WINS Server: 10.8.2.1
NetBIOS Name: app1
Suffix: 20

Name returned: APP1
Record type: Unique
IP Address: 10.0.2.11

C:\Users\SarelBotha\Downloads\nblookup>ping app1
Ping request could not find host app1. Please check the name and try again.

C:\Users\SarelBotha\Downloads\nblookup>