ssh — guest: ~ connected

nslookup — query the DNS

SYNOPSIS

nslookup <domain> [type]

DESCRIPTION

Resolves a domain name over DNS-over-HTTPS (Google Public DNS). The record type defaults to A; the A, AAAA, NS, CNAME, MX and TXT types are recognized. Each answer shows its value and TTL.

HOW IT WORKS

Browsers cannot send raw DNS packets, so the lookup goes through DNS-over-HTTPS: an HTTPS request to Google Public DNS (dns.google), which resolves the name and returns the answer as JSON. The result is what a public resolver sees, not your local or corporate resolver.

USE CASES

NOTES

The TTL tells how long resolvers may cache the answer: after changing a record, expect up to that many seconds before everyone sees the new value.

EXAMPLES

nslookup toinel.com nslookup toinel.com MX

SEE ALSO

whois, ping, checkip, geoip, httpstest