Troubleshoot Linux / UNIX bind dns server zone problems with named-checkzone tool
Q. How do I check my domain zone file for error and validity the same under BIND DNS Server version 9?
A. You need to use named- checkzone command as zone file validity checking tool. It is useful for checking zone files before configuring them into a name server.
named-checkzone command syntax
named-checkzone {zonename} {filename}
Where,
- zonename : The domain name of the zone being checked.
- filename : The name of the zone file.
How do I check my zone file configuration for errors?
Use named-checkzone to check the zone files as follows:
named-checkzone nixcraft.com /var/named/zone.nixcraft.com
Output:
OK
If you see "OK" as result, the zone file is properly configured and you can restart bind name server.
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Linux, UNIX set the time zone on a per user basis
- OpenBSD Set / Configure Time Zone
- How do I setup round robin DNS?
- Howto: Linux server change or setup the timezone
- Linux Optimize Directories ( File Access Time ) in ext3 Filesystem
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: bind_dns_server, bind_name, check_zone_file, command_syntax, domain_name, named-checkzone_command, name_server, validity, zone_files



October 18th, 2007 at 5:05 am
how to configure bind in enterprise linux