Check resource records
Check resource records
You can check from which DNS servers the domain's resource records are given from, as well as view all domain records.
-
Open the CLI.
-
Install the utility
dig
as part of a packagednsutils
:sudo apt-get install dnsutils
-
Check which NS servers the domain is delegated to:
dig <example.com> NS
Specify
<example.com>
— domain name. -
Query the record data from the NS server. If the domain is delegated to multiple NS servers, repeat the request for each server:
dig <ns_server> <example.com> <type>
Specify:
<ns_server>
— NS server that you got in step 3;<type>
— record type, e.g.,A
for the A-record. To display information about all records in the domain, specifyany
.
The response will contain the value of the entry and its TTL. TTL is the time in seconds during which a resource entry in the NS server cache is considered up-to-date and does not need to be re-cached.