X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/eca2c8e0a8aad79c7dc7738346d265f973428995..b60a32da0a15deb572474b1f66a6c63695ed7491:/dnssync.pas?ds=sidebyside diff --git a/dnssync.pas b/dnssync.pas index 84caf9a..66d9802 100644 --- a/dnssync.pas +++ b/dnssync.pas @@ -328,7 +328,7 @@ begin end; {$ifdef mswindows} - if usewindns then begin + if usewindns and (overridednsserver = '') then begin if (useaf = useaf_v4) then a := af_inet else if (useaf = useaf_v6) then a := af_inet6 else a := 0; result := winforwardlookuplist(name,a,dummy); {$ifdef ipv6} @@ -399,7 +399,7 @@ var state:tdnsstatearr; begin {$ifdef mswindows} - if usewindns then begin + if usewindns and (overridednsserver = '') then begin result := winreverselookup(ip,dummy); exit; end;