end;\r
\r
{$ifdef mswindows}\r
- if usewindns then begin\r
+ if usewindns and (overridednsserver = '') then begin\r
if (useaf = useaf_v4) then a := af_inet else if (useaf = useaf_v6) then a := af_inet6 else a := 0;\r
result := winforwardlookuplist(name,a,dummy);\r
{$ifdef ipv6}\r
state:tdnsstatearr;\r
begin\r
{$ifdef mswindows}\r
- if usewindns then begin\r
+ if usewindns and (overridednsserver = '') then begin\r
result := winreverselookup(ip,dummy);\r
exit;\r
end;\r