[Opendnssec-develop] Re: Adapter configuration

Siôn Lloyd sion at nominet.org.uk
Fri Jun 8 11:28:43 UTC 2012


On 31/05/12 11:26, Sara Dickinson wrote:
> On 30 May 2012, at 08:32, Matthijs Mekking wrote:
>
>>> - ods-kaspcheck can check adapter files.
>> I agree, that might be useful too.
>
> +1
>
> But would this make it more of an 'ods-configcheck' tool i.e. more general than just kasp? Have their been any thoughts of doing this (since it is being re-written in 1.4)? Then it could be extended in future to include the other xml files.

There are two sorts of checks that could be done:

1) does the xml validate against the rng schema
2) does the xml make sense (e.g. are options consistent)

(1) is straightforward
(2) will depend on the adapter in question

The new code is in enforcer/utils/kaspcheck.c and 
enforcer/utils/kc_helper.c if anyone wants to add to it.

Sion



More information about the Opendnssec-develop mailing list