core: dns cache - safety checks for rdata field