In the Windows operating system, the nslookup command is used to query DNS records.
For example, to query the DNS A record for a domain, use the following command:
nslookup -type=A domainname
nslookup -type=A securitymanadhey.com
This command produces output:
Server: reliance.reliance (this is ISP connection)
Address: 2405:201:c00b:3a31::c0a8:1d01(the IP address of the Reliance DNS resolver)
Non-authoritative answer:
Name: securitymanadhey.com(domain)
Addresses:
15.197.225.128 (IPV4 of the domain)
3.33.251.168(IPV4 of the domain)
Details:
Server: Displays the name and IP address of the DNS resolver used for the query.( this DNS resolver provided by your Internet Service Provider(ISP))
Non-authoritative answer: Indicates that the response came from a DNS server that is not the authoritative server for the domain.
Name: Shows the queried domain name.
Addresses: Lists the IP addresses associated with the domain (IPv4 in this example).
By default, your device uses the DNS resolver provided by your Internet Service Provider (ISP) unless you configure it to use a custom DNS server.
If you configure your device to use custom DNS servers (like Google's 8.8.8.8 or Cloudflare's 1.1.1.1), the output would display those instead in the Server and Address fields.