counters: add counters for DNS resolution.