It can sometimes be useful to check your DNS’s performance. I have found that on some occasions the DNS causes a perceivably slow internet access and switching from one to another resulted in a delightfully faster connection. A couple months ago, I learned simple way to speed test a DNS server. It’s not a long or complex command but can be easy to forget when you only use it once in a while.
dig @x.x.x.x example.com | grep "Query time"
My DNSs of choice are usually just Google and Cloudflare because their server IPs are so easy to remember. When one is slow, I usually just switch to the other.
|DNS||Primary IP||Secondary IP|
To check whether switching DNS can remedy a slow internet access, simply test the DNS.
dig @22.214.171.124 example.com | grep "Query time" ;; Query time: 33 msec dig @126.96.36.199 example.com | grep "Query time" ;; Query time: 46 msec
At the time of writing, internet access was pretty fast so in that case it can still be nice to know which DNS would be optimal to use based on query time.