DNS

Check DNS Glue Record using @dig (bind-utils)

This post will show how to find glue record using bind-utils in CentOs. Read what is Glue record.

As I’ve mentioned in earlier post Glue record bind IP address with a sub domain while setting up sub domain as nameserver of the primary domain. When implemented TLDs nameserver return only NS record (in answer section) and Glue record in Additional section in reply of a DNS quarry for any record. Client then immediately quarry the authoritative nameserver for the corresponding record, get answer and use it.

So, if you use any software like bind-utils to view a DNS record although all this will happen but you’ll be presented only with the record, you’ve asked for. Because the final result is obtained from the authoritative name server which off course doesn’t supply any Glue record this result is not shown.

Checking Glue record may be necessary while going to setup your personal nameserver. To check you’ve to quarry the TLD’s nameserver  for any record.

Step 1: Install bind-utils in cent os

# yum install bind-utils

Step 2: Quarry the TLDs nameserver for any record. E.g. One of my domain interentry.com is using ns1.interentry.com as it’s nameserver. Ask one of the .com’s nameserver (a.gtld-servers.net) for A record of interentry.com

# dig @a.gtld-servers.net interentry.com

You’ll find the IP address of ns1.interentry.com in additional section of the reply, that’s actually Glue record

how to check dns glue record with @dig (bind-utils)

Read More: Difference between DNS ‘A’ Record and ‘Glue Record’

Visits: 1696

Leave a Reply

Your email address will not be published. Required fields are marked *