dig +short myip.iot.dc.org @ns.iot.dc.org

will return your public (non-nat) IP address

or

dig +short myip.iot.dc.org @your-resolver

will return the public IP address used by your resolver to perform DNS lookups