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

Posted on 2011-10-23
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
    LVL 31

    Accepted Solution

    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

    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

    Open in new window

    From another internal machine:

    Open in new window

    LVL 21

    Assisted Solution

    [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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now