[rbldnsd] Feature Request: Zonefile Syntaxcheck

Michael Tokarev mjt at tls.msk.ru
Sat Aug 29 14:43:59 MSD 2009


Tobias Knecht wrote:
> Hi,
> 
> we are using rbldnsd for various things and it works just great.
> 
> We had a small idea that would be a perfect addition for our purposes. A
> syntaxcheck option. When rbldnsd starts he is doing a check, but I want
> to check the syntax not in the live system I would like to test it
> within the creation process of the zonefile.
> 
> At the moment I have to start an instance of rbldnd with ip, port
> binding, etc. ...
> 
> 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...

/mjt


More information about the rbldnsd mailing list