OFDNSResolver: Invalidate cache on config changes