Detect system external IP address using DNS
This option uses the dig command to query a DNS server and detect the
system's external IP address. For instance, you can set this field to
myip.opendns.com resolver1.opendns.com (a space-separated query name
and nameserver). This avoids relying on HTTP-based method and retrieves the IP
address directly from the DNS server.
However, DNS method should be used with care if the system is behind a NAT,
proxy, or VPN, as the detected IP may not reflect the actual public IP of the
machine. It may instead show the external IP of the NAT gateway, proxy, or VPN
endpoint.