The DNS plugin gathers dns query times in miliseconds - like Dig
Configuration:
# Query given DNS server and gives statistics[[inputs.dns_query]]## servers to queryservers=["8.8.8.8"]## Network is the network protocol name.# network = "udp"## Domains or subdomains to query.# domains = ["."]## Query record type.## Posible values: A, AAAA, CNAME, MX, NS, PTR, TXT, SOA, SPF, SRV.# record_type = "A"## Dns server port.# port = 53## Query timeout in seconds.# timeout = 2