[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4183 - trunk/OpenDNSSEC/auditor/lib/kasp_auditor

Alex Dalitz alexd at nominet.org.uk
Thu Nov 11 16:50:04 CET 2010


Author: alex
Date: 2010-11-11 16:50:04 +0100 (Thu, 11 Nov 2010)
New Revision: 4183

Modified:
   trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb
Log:
SOA name is also downcased

Modified: trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb
===================================================================
--- trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb	2010-11-11 15:47:06 UTC (rev 4182)
+++ trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb	2010-11-11 15:50:04 UTC (rev 4183)
@@ -109,7 +109,7 @@
       begin
         # Load SOA record from top of original signed and unsigned files!
         load_soas(original_unsigned_file, original_signed_file)
-        if ((@config.name != @soa.name.to_s) && (@config.name != @soa.name.to_s.chop))
+        if ((@config.name.downcase != @soa.name.to_s) && (@config.name.downcase != @soa.name.to_s.chop))
           log(LOG_ERR, "SOA name (#{@soa.name}) is different to the configured zone name (#{@config.name}) - aborting")
           return 1
         end




More information about the Opendnssec-commits mailing list