Afnic and IIS Zonemaster Project
and 1 contributors


Zonemaster::Engine::Test::Basic - module implementing test for very basic domain functionality


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



Runs between one and three tests, depending on the zone. If basic01 passes, basic02 is run. If basic02 fails, basic03 is run.


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.


Returns a refernce to a hash with translation data. Used by the builtin translation system.


Returns a version string for the module.


Looks at the provided log entries and returns true if they indicate that further testing of the relevant zone is possible.



Checks if the domain name to be tested is valid. Not all syntax tests are done here, it "just" checks domain name total length and labels length. In case of failure, all other tests are aborted.


Checks that we can find a parent zone for the zone we're testing. If we can't, no further testing is done.


Checks that the nameservers for the parent zone returns NS records for the tested zone, and that at least one of the nameservers thus pointed out responds sensibly to an NS query for the tested zone.


Checks if at least one of the nameservers pointed out by the parent zone gives a useful response when sent an A query for the www label in the tested zone (that is, if we're testing this test will as for A records for This test is only run if the basic02 test has failed.