Skip to header Skip to main navigation Skip to main content Skip to footer

Search form

Site branding

What's up, home?
Monitor everything with Zabbix & Grafana

Main navigation

  • Home
  • Story mode
  • About
  • Features
  • Hardware list
  • Videos
  • GitHub (opens in new tab)
  • Daily AI generated stories (opens in new tab)

Part 70: What's your name, again? Time for DNS monitoring!

Breadcrumbs

Breadcrumb

  • Home
  • Part 70: What's your name, again? Time for DNS monitoring!

Main page content

By whatsuphome | 2:38 PM EET, Fri March 15, 2024

TL;DR

I set up DNS monitoring in Zabbix 7.0 using the net.dns.perf item for query performance and net.dns.record for resolution results, both running through my VPN-based global probe hosts. Widgets visualize query latency as graphs and results as plain text
DNS checks cover image

As Zabbix 7.0 gains some enhancements in DNS monitoring, too, let's add to that my synthetic monitoring toolpack theme of the week. I'm not actually sure if my global testing is global in reality, as this is going through Proton VPN. The results look such similar that maybe the tests are using some nearby Proton VPN DNS server... I didn't yet check with Wireshark. Anyway, let's imagine this would work.

Setup the DNS tests

So, there's two Zabbix agent items you can use: net.dns.perf for performance check, and net.dns.record for checking what's the result coming back from DNS server. I applied these to my blogprobe hosts I created in my two previous blog entries.

DNS items

The items themselves are very simple:

Performance checkDNS resolving result

That's it!

Check that it works

By going to Latest data we can see that this works:

Latest data

Adding some widgets

To visualize this, I added two widgets - a graph for performance, and a plain text widget for the query results.

DNS resolving performanceDNS resolver result

And done!

DNS monitoring gone overkill

I mentioned this when I first started using Zabbix 7.0beta1, but if you really want, you can go nuts with DNS monitoring details ... here is a visualization how it can look.

DNS metricsDNS metrics

 

Final words

So, this week, with some few relatively simple steps, I built a simplified global blog availability monitoring for my blog, covering HTTP, traceroute and DNS checks happening over multiple Proton VPN connections. This kind of technique can be used if you don't have the possibility to use remote Zabbix proxies and agents, or if you cannot use services like Grafana Cloud.

Once again, Zabbix to the rescue! In the end, observability is simple. Next time, we'll build some fancy dashboards based on the data we have collected so far.

 

whatsuphome
zabbix
syntheticmonitoring
dns
  • Add new comment

Comments (2)

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Where is this in the app?

GRS (not verified)

1 year 1 month ago
Permalink
New

Where are any of these screenshots from within the Zabbix console? Some guidance would be helpful.

  • Reply

The post has screenshots

whatsuphome

1 year ago
Permalink
New

Are you not seeing the screenshots in the post? In that case when you arrived to read the post there might have been something going on with this blog hosting place. The post has multiple screenshots. :)

Or if you saw the screenshots, what kind of screenshots would you like to see?

  • Reply

In reply to Where is this in the app? by GRS (not verified)

I set up DNS monitoring in Zabbix 7.0 using the net.dns.perf item for query performance and net.dns.record for resolution results, both running through my VPN-based global probe hosts. Widgets visualize query latency as graphs and results as plain text

Search

Who am I?

  • Janne Pikkarainen from Finland 🇫🇮
  • Principal Site Reliability Engineer at Forcepoint
  • A Zabbix Summit speaker every year since 2022
  • Walking, talking Zabbix commercial

Support my project

Buy me a coffee 

Footer menu

  • Contact

What's up, home? | Janne Pikkarainen | contact(at)whatsuphome.fi | 2022 - 2026

Developed and Designed by Janne Pikkarainen