How do I enable logging so that I can see all the queries on my DNS server?

Updated -

Release found: Red Hat Enterprise Linux 3 and Red Hat Enterprise Linux 4


The logging of DNS queries can be enabled by running the rndc command. To do so run the command below as root:

# rndc querylog

Once this is done, all the queries being sent to the DNS server will be logged in the ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content