fixes #5675 - expect dns_key setting to be nil if not set