by adrien » Aug 24 21 3:04 pm
Hi
There are 2 components in WinGate to do with DNS.
1. The DNS client. This is used to look up names in other DNS servers. By default it uses the same DNS servers that your underlying Windows installation is using.
2. The DNS server. This is an optional service in WinGate, and if you install it, it is used by other DNS clients on your network to look up names.
As for looking up a machine by its name, this can have 2 mechanisms, and I wonder if it's using the second one.
1. DNS lookup to an AD DNS server.
2. NetBT broadcast lookup on the local network.
WinGate itself periodically queries the network using NetBT (which is basically DNS over a different port).
As for that error report, that would happen if the DNS server tried to respond to a query, and when it sent the response back (this is the only time the DNS server actually performs a send) the client DNS resolver had closed the socket.
DNS clients are used for all lookups, including by the DNS server, so the only thing that sends a query packet (does a lookup) is the DNS client. The only time the DNS server sends is for responses back to clients.