[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


BIND DNS : how to check function and make sure it is working ?

Posted on 2011-10-23
Medium Priority
Last Modified: 2012-06-27
how can i  check to make sure is is running and resolving names , -top command or something ?
Question by:NAMEWITHELD12
  • 2
LVL 31

Accepted Solution

farzanj earned 668 total points
ID: 37015534
Query your DNS

dig @localhost <DomainName>

Make sure the service is also running
netstat -antpu | grep 53

You can also use ps -ef command to see the process running
LVL 21

Assisted Solution

Papertrip earned 1332 total points
ID: 37015536
If rndc and your control statement in named.conf are setup properly, just run the following from the nameserver.
rndc status

Open in new window

To check other things such as queries per second, you can install the 'dnstop' package from the rpmforge repository.

You can also use the dig command provided in bind-utils package to query your nameserver to test resolution.
From the nameserver:
dig @localhost google.com

Open in new window

From another internal machine:
dig @ns.yourdomain.com google.com

Open in new window

LVL 21

Assisted Solution

Papertrip earned 1332 total points
ID: 37015539
[root@broken ~]# rndc status
CPUs found: 4
worker threads: 4
number of zones: 33
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

Open in new window


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month19 days, 6 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question