Check resource records
Check resource records
-
Open the CLI.
-
Install the
dig
utility as part of thednsutils
package:sudo apt-get install dnsutils
-
Check which NS servers the domain is delegated to:
dig <example.com> NS
Specify
<example.com>
as the domain name. -
Request record data from the NS server. If the domain is delegated to multiple NS servers, repeat the query for each server:
dig <ns_server> <example.com> <type>
Specify:
<ns_server>
is the NS server you got in step 3;<type>
is the record type, e.g.,A
for an A record. To display information about all records in the domain, specifyany
.
The response will include the value of the record and its TTL. TTL — 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.