The `mydnscheck' program scans one more more zones and reports on syntax and consistency problems in the zone data. When used without any zone arguments, `mydnscheck' checks all zones by default.
`mydnscheck' outputs lines of tab-delimited data. This is so that it will hopefully be easier for experienced users to write scripts to automate fixups, in the event that they have created a new database that has many problems. Each line contains seven fields:
The most useful way for an administrator to use `mydnscheck' is without any arguments (indicating a scan of all zones) and with the database consistency check option enabled. This will perform a thorough analysis of your database. To perform this type of check, you would run:
# mydnscheck --consistency
You can also run `mydnscheck' on a single zone only. This might be useful if invoked from a CGI script, to offer customers or clients the ability to check their zone:
$ mydnscheck -uUSER -pPASS example.com
For an explanation of all available options, please see the `mydnscheck'(8) man page.