Reverse DNS

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Reverse DNS

Postby JR Africa » Dec 19 18 8:35 pm

Hi guys

Is there any way I can do a reverse dns lookup for a given IP utilising a policy ?

JR Africa
Posts: 38
Joined: Aug 31 12 2:20 am

Re: Reverse DNS

Postby adrien » Dec 20 18 1:15 pm


WinGate already does a reverse lookup for any IP that connects to it.

This is stored in Session.ClientDNSName and should be available soon after the client connects (the lookup is asynchronous and kicked off when the connection is made).

This is also logged in Web proxy usage logs as c-DNS. It's not logged by default, but you can turn it on in the WWW Proxy usage logs on the Format tab.

In policy there's a DNS lookup item, but it's designed mainly for RBL lookups, in that it matches the A record return value against a fixed IP.

There's also the script object DNSClient which can do a lookup of a name and record type, but doesn't actually have a way to return a polymorphic response type so doesn't return the actual name at all (so it's only really useful for populating the DNS cache).

Qbik Staff
Posts: 5352
Joined: Sep 03 03 2:54 pm
Location: Auckland

Return to WinGate

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests