The Domain Name System (DNS) debug function can provide information that can help you determine and correct DNS server problems.
DNS offers 12 levels of debug control. Logging usually provides an easier method of finding problems, but in some cases debugging might be necessary. Under normal conditions, debugging is turned off (value = 0). It is recommended that you first use logging to attempt to correct problems.
Valid debug levels are 0 through 11. Your IBM® service representative can help you determine the appropriate debug value for diagnosing your DNS problem. Values of 1 or higher write debug information to the NAMED.RUN file in your iSeries™ directory path: Integrated File System/Root/QIBM/UserData/OS400/DNS/<server instance>, where "<server instance>" is the name of the DNS server instance. The NAMED.RUN file continues to grow as long as the debug level is set to 1 or higher, and the DNS server continues to run. It is recommended that you delete the file from time to time to keep it from taking up too much disk space. You can also use the Server Properties - Channels page to specify preferences for maximum size and number of versions of the NAMED.RUN file.
To change the debug value for a DNS server instance, follow these steps: