check-names via command line
Chris Thompson
cet1 at cam.ac.uk
Tue Jul 10 15:23:04 UTC 2012
On Jul 10 2012, Gary Wallis wrote:
>Is there a way to "check names" via the command line (like with a
>named-checkzone type tool.)
>
>I need to validate zone info BEFORE trying to load, log frag:
>
>10-Jul-2012 11:36:02.199 general: zone growXeg.com/IN/external: loading
>master file master/external/g/growXeg.com: bad name (check-names)
>10-Jul-2012 11:38:01.815 general: dns_rdata_fromtext:
>master/external/g/growXeg.com:3: near 'uk.hostmaster at telXXity.com.': bad
>name (check-names)
>
>(X added for some privacy.)
Check out the -k option of named-checkzone. It defaults to "warn" anyway,
but you may want to use "fail".
--
Chris Thompson
Email: cet1 at cam.ac.uk
More information about the bind-users
mailing list