[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3830 - trunk/OpenDNSSEC/signer/src/signer

Matthijs Mekking matthijs at nlnetlabs.nl
Tue Aug 31 09:23:51 CEST 2010


Author: matthijs
Date: 2010-08-31 09:23:51 +0200 (Tue, 31 Aug 2010)
New Revision: 3830

Modified:
   trunk/OpenDNSSEC/signer/src/signer/domain.c
Log:
more info in .denial file

Modified: trunk/OpenDNSSEC/signer/src/signer/domain.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-08-31 06:55:41 UTC (rev 3829)
+++ trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-08-31 07:23:51 UTC (rev 3830)
@@ -838,6 +838,15 @@
 void
 domain_print_nsec(FILE* fd, domain_type* domain)
 {
+    char* str = NULL;
+
+    str = ldns_rdf2str(domain->dname);
+    fprintf(fd, "; dname: %s %u %u %u %i %i %i\n", str,
+        domain->inbound_serial, domain->internal_serial,
+        domain->outbound_serial, (int) domain->domain_status,
+        domain->nsec_bitmap_changed, domain->nsec_nxt_changed);
+    se_free((void*) str);
+
     /* print nsec */
     if (domain->nsec_rrset) {
         rrset_print(fd, domain->nsec_rrset, 1);




More information about the Opendnssec-commits mailing list