DNS server health monitor
I'm load balancing some DNS servers via LTM and the profile someone set in the past was a default udp monitor which does... Well really nothing. I'm looking to see if there is something better. I've struggled to find anything online and wanted to see how anyone else might do it. I'm wondering if I'll need to create a custom external monitor. Any suggestions welcome! Plan to use a layer 4 performance type for a new VIP I got to build for more DNS servers too. Any suggestions on anything different is very welcome!
Posted Feb 11, 2022, 5:49 AM UTC
Why not use a DNS monitor? I use several in my environment and they work just fine.
What version of BIG-IP are you using? I know that older versions don't have a built-in DNS monitor, and in those situations, I've used an external monitor that executed 'dig'. Like smeenz says, you just need to be careful that you only output to stdout if the dig is successful.
Let me know if you want an example external monitor that executes 'dig'.
I'm on latest version of 14. I looked earlier and had no built in DNS monitor profiles, and struggled to find something online.
A external doing dig was what I was thinking I would need to do, but wasn't sure. I might end up going that route or a custom udp monitor with a query string in it.