Skip to main content
Check resource records
Last update:

Check resource records

  1. Open the CLI.

  2. Install the dig utility as part of the dnsutils package:

    sudo apt-get install dnsutils
  3. Check which NS servers the domain is delegated to:

    dig <example.com> NS

    Specify <example.com> as the domain name.

  4. 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, specify any.

    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.