Using dig to Query a Specific DNS Server (Name Server)

There may be occasions when you wish to query a name server directly.  I usually do it when debugging DNS servers configuration for a domain that is experiencing difficulties.

I recommend that anyone running DNS services (in cluster mode or standalone) to looks into the following tool. It is very useful, especially when you’re debugging.

My tool of choice (available on Linux, OS X and BSD) is dig

dig has a feature which allows you to specify a name server along with the record you want to query.

For example, DNS servers for google.com are:
ns1.google.com
ns2.google.com
ns3.google.com
ns4.google.com

We may query a random NS by issuing the following command:
dig google.com

We can query a particular server directly by doing the following:
dig google.com @ns1.google.com

Feel free to open a support ticket if you would like us to perform it for you.

  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

crontab management

crontab is a command line tool in order to manage your cron tasksThe two most important basic...

[CentOS/RHEL/CloudLinux] rpc.statd is not running but is required for remote locking

Fixing rpc.statd is not running but is required for remote locking   If you come across this...

[WHM/cPanel] Changing Home directory

What is the document root? When you visit a website, you are accessing a particular folder on...

Recommended firewall

What firewall do you recommend to secure my Linux server? MACI recommends the CSF (ConfigServer...

[WHM/cPanel] Update WHM/cPanel using CLI

Occasionally, WHM or cPanel might experience errors that can only be resolved by updating the...

Powered by WHMCompleteSolution