How to measure OpenDNS resolving speed

I have recently switched away from borg/cloud DNS service to OpenDNS on my firewall using dnsmasq.

I have seen some real network issues and it seems to be DNS related. How would I measure resolving time?

Ping seems to work for checking address but that is not resolving. TraceRT same thing. Shows hops and latency.

What to use for measuring my DNS resolver speed?
 
I had done some reading on stackexchange that recommended dnsutils that we dont seem to have i ports.

There are lots of other tools I need to look at after pkg search.
while true; do dig www.google.com | grep time; sleep 2; done

I remembered I was using Pi-Hole like filtering via /usr/local/usr/dnsmasq.d and fetched and reloaded the rule.
Code:
firewall@x9srl:~ % su
Password:
root@x9srl:/home/firewall # cd /usr/local/etc/dnsmasq.d
root@x9srl:/usr/local/etc/dnsmasq.d # fetch https://raw.githubusercontent.com/hagezi/dns-blocklists/main/dnsmasq/ultimate.txt
ultimate.txt                                          7723 kB   29 MBps    01s
root@x9srl:/usr/local/etc/dnsmasq.d # service dnsmasq restart
Performing sanity check on dnsmasq configuration.
dnsmasq: syntax check OK.
Performing sanity check on dnsmasq configuration.
dnsmasq: syntax check OK.
Stopping dnsmasq.
Waiting for PIDS: 85193.
Starting dnsmasq.

What concerned me is the firewall might be giving up. X9SRL is pretty old now.
Networking and USB appear to be flapping. CXL1 looks suspect but USB should not be reinitializing.
cat /var/log/messages |tail -n 400
Code:
Nov 18 08:27:34 x9srl kernel: cxl1: link state changed to UP
Nov 18 08:27:34 x9srl kernel: ugen1.3: <Justcom Technology USB KVM Switch> at usbus1
Nov 18 08:27:34 x9srl kernel: ukbd1 on uhub3
Nov 18 08:27:34 x9srl kernel: ukbd1: <Justcom Technology USB KVM Switch, class 0/0, rev 1.10/1.00, addr 3> on usbus1
Nov 18 08:27:34 x9srl kernel: kbd3 at ukbd1
Nov 18 08:27:34 x9srl kernel: em0: link state changed to UP
Nov 18 08:27:34 x9srl kernel: lagg0: link state changed to DOWN
Nov 18 08:27:34 x9srl kernel: cxl1: link state changed to DOWN
Nov 18 08:27:34 x9srl kernel: cxl1: link state changed to UP
Nov 18 08:27:34 x9srl kernel: lagg0: link state changed to UP
Nov 18 08:27:34 x9srl kernel: cxl1: link state changed to DOWN
Nov 18 08:27:34 x9srl kernel: lagg0: link state changed to DOWN
Nov 18 08:27:34 x9srl kernel: cxl1: link state changed to UP
Nov 18 08:27:34 x9srl kernel: lagg0: link state changed to UP
 
Back
Top