git clone https://gitweb.michael.orlitzky.com/valtz.git
A fork of Magnus Bodin's simple utility to validate tinydns-data files. The original has not been updated in many years.
It's a Perl script, so download it and put it in your
$PATH
.
Run it on your tinydns-data files. If it finds errors, it will complain:
user $ valtz example.com.tinydns
File example.com.tinydns
line 1; err 32 @example.com.::127.0.0.1:
expected: fqdn:ip:x:dist:ttl:timestamp:lo
pos 2; x; IP address found where hostname expected
user $ echo $?
1
If it doesn't, it won't:
user $ valtz example.org.tinydns
user $ echo $?
0
For more details, see the included man page.
Email them to me at michael@orlitzky.com.