Check resource records
You can check which DNS servers provide domain resource records and view all domain records.
-
Open the CLI.
-
Install the
digutility as part of thednsutils:sudo apt-get install dnsutils -
Check which NS servers the domain is delegated to:
dig <example.com> NSSpecify
<example.com>— the domain name. -
Request record data from the NS server. If the domain is delegated to several NS servers, repeat the request for each server:
dig <ns_server> <example.com> <type>Specify:
<ns_server>— the NS server obtained in step 3;<type>— the record type, for example,Afor an A record. To display information about all domain records, specifyany.
The response will contain the value of the record and its TTL. TTL is the time in seconds during which a resource record in the NS server cache is considered up to date and does not need to be re-cached.