<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE config PUBLIC "-//ZoneCheck//DTD Config V1.0//EN" "config.dtd">
<config>
<!-- $Id: zc.conf,v 1.23 2010/06/17 08:22:56 chabannf Exp $ -->

  <!-- [ Preset configurations ]                                      -->
  <!--                                                                -->
  <!--   Can be reverted                                              -->
  <!--     verbose: intro,testname,explain,details,reportok,fatalonly -->
  <!--              testdesc,counter                                  -->
  <!--     transp : ipv4,ipv6,udp,tcp,std                             -->
  <!--     output : byseverity,byhost,text,html                       -->
  <!--     error  : allfatal,allwarning,dfltseverity,stop,nostop      -->
  <!--   Cannot be reverted                                           -->
  <!--     quiet  : any values enable this mode                       -->
  <!--     one    : any values enable this mode                       -->
  <!--                                                                -->
  <preset name="default">
    <param name="verbose" value="explain,details,intro,counter"/>
  </preset>

  <preset name="verbose">
    <param name="transp"  value="ipv4,ipv6,std"/>
    <param name="output"  value="byseverity,text"/>
    <param name="verbose" value="explain,details,intro,counter"/>
    <param name="error"   value="dfltseverity"/>
  </preset>

  <preset name="minimal">
    <param name="verbose" value="explain,details,fatalonly"/>
    <param name="error"   value="stop"/>
    <param name="quiet"   value=""/>
  </preset>


  <!-- [ Constants ]                                                  -->
  <!--                                                                -->
  <!-- We are providing here default values that can be               -->
  <!-- overwritten in the different profiles                          -->
  <!--                                                                -->

  <!-- For connectivity testing -->
  <!--  the '%s' will be replaced by the IP address -->
  <const name="ping4" value="ping  -n -q -t 64 -c 5 %s > /dev/null"/>
  <const name="ping6" value="ping6 -n -q -c 5 %s > /dev/null"/>

  <const name="dnsruby:retrytimes" value="1"/>
  <const name="dnsruby:retrydelay" value="1"/>
  <const name="dnsruby:querytimeout" value="2"/>

  <!-- For openrelay testing -->
  <const name="fake_mail_user" value="zonecheck"/>
  <const name="fake_mail_dest" value="nic.fr"/>
  <const name="fake_mail_from" value="afnic.fr"/>
  <const name="fake_mail_host" value="relay2.nic.fr"/>

  <!-- For delegation in 512 bytes tests -->
  <const name="inexistant_hostname"   value="doesntexist"/>
  <const name="delegation_query_size" value="255"/>

  <!-- Minimum and maximum for SOA fields -->
  <!--  min: 0  / max: 2147483647         -->
  <const name="soa:expire:min"  value="604800"/>
  <const name="soa:expire:max"  value="3628800"/>
  <const name="soa:minimum:min" value="180"/>
  <const name="soa:minimum:max" value="604800"/>
  <const name="soa:refresh:min" value="3600"/>
  <const name="soa:refresh:max" value="172800"/>
  <const name="soa:retry:min"   value="900"/>
  <const name="soa:retry:max"   value="86400"/>
  <const name="rrsig:validityperiod:min"   value="259560"/>
  <const name="rrsig:validityperiod:max"   value="16070400"/>

  <!-- Allowed serial drift for SOA                                   -->
  <!--  . A drift of the serial number can be allowed between         -->
  <!--    the master and its slaves, to try avoiding reporting errors -->
  <!--    due to the zone transfert being done                        -->
  <!--  . If the serial follow rfc1912 recommandation and use the     -->
  <!--    YYYYMMDDnn format the soa:serial:drift_days will be applied -->
  <!--    otherwise the soa:serial:drift_ticks                        -->
  <!--  Value must be >= 0 (use carefully)                            -->
  <const name="soa:serial:drift_days"  value="200"/>
  <const name="soa:serial:drift_ticks" value="100"/>

  <!-- SMTP testing                                                   -->
  <!-- The following timeout value (in seconds) can be specified      -->
  <!--  . open: time allowed to TCP for establishing the connection   -->
  <!--  . session: time allowed for the whole session                 -->
  <!--     (note: time required for establishing the TCP session      -->
  <!--      is not taken into account)                                -->
  <const name="smtp:open:timeout"    value="10"/>
  <const name="smtp:session:timeout" value="40"/>

  <!-- [ Mapping ]                                                    -->
  <!--                                                                -->
  <!-- Allow to automatically apply a particular test profile         -->
  <!--  by looking at the zone in which the domain belongs            -->
  <!--                                                                -->

  <!-- Reverse -->
  <map zone="in-addr.arpa." profile="reverse"/>
  <map zone="ip6.arpa."     profile="reverse"/>
  <map zone="ip6.int."      profile="reverse"/>

  <!-- TLD / ccTLD -->
  <!--  You need to realize that you can obtain different results    -->
  <!--   for the same zone configuration if they belong to different -->
  <!--   TLD /ccTLD as they will now use a different profile         -->
  <!--  Now that you have been informed, you can uncomment the       -->
  <!--   following lines                                             -->
<!--  <map zone="fr."           profile="afnic"/> -->
<!--  <map zone="re."           profile="afnic"/> -->
<!--  <map zone="de."           profile="de"/>    -->

  <!-- Default -->
  <map zone="."             profile="default"/>


  <!-- Local Variables: -->
  <!-- mode: xml        -->
  <!-- End:             -->
</config>
