[rbldnsd] Feature Request: Zonefile Syntaxcheck

David Landgren david at landgren.net
Mon Aug 31 11:47:06 MSD 2009


Michael Tokarev wrote:
> Tobias Knecht wrote:

>> INPUT: rbldnsd --syntaxcheck 'name:type:file,file...'
>> OUTOUT: only error lines
>>
>> That would be perfect. What do you think?
> 
> How about -d (dump all zones) option?  You can redirect output
> to /dev/null but stderr will still be there, showing you any
> errors, as is the exit code...

Another idea would be to bundle a lint checker with the distribution 
that could be used to check for syntax errors and dubious constructs 
(overlapping CIDRs for example).

No need to bulk up the rbldnsd daemon itself for this.

David


More information about the rbldnsd mailing list