logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Zonemaster::Test::Consistency - Consistency module showing the expected structure of Zonemaster test

Methods

       all($zone)
           Runs the default set of tests and returns a list of log entries made by the tests.

       metadata()
           Returns a reference to a hash, the keys of which are the names of all test methods in the module, and
           the  corresponding  values  are  references to lists with all the tags that the method can use in log
           entries.

       translation()
           Returns a reference to a hash with translation data. Used by the builtin translation system.

       version()
           Returns a version string for the module.

Name

       Zonemaster::Test::Consistency - Consistency module showing the expected structure of Zonemaster test
       modules

Synopsis

           my @results = Zonemaster::Test::Consistency->all($zone);

Tests

       consistency01($zone)
           Query all nameservers for SOA, and see that they all have the same SOA serial number.

       consistency02($zone)
           Query all nameservers for SOA, and see that they all have the same SOA rname.

       consistency03($zone)
           Query  all  nameservers  for  SOA,  and  see  that  they  all   have   the   same   time   parameters
           (REFRESH/RETRY/EXPIRE/MINIMUM).

       consistency04($zone)
           Query all nameservers for NS set, and see that they have all the same content.

       consistency05($zone)
           Verify that the glue records are consistent between glue and authoritative data.

perl v5.32.0                                       2021-01-06                 Zonemaster::Test::Consistency(3pm)

See Also