changed %i to %s for RDATA printing