If you’ve ever stepped into the F5 BIG-IP DNS (formerly GTM) world, you’ve likely encountered a service called ZoneRunner. To the uninitiated, it looks like a redundant layer of management. To the power user, it is the bridge between standard DNS and F5’s Intelligent Traffic Management. Here is how to understand the “magic” happening under the hood.
1. The Foundation: What is ZoneRunner?
At its core, ZoneRunner is a configuration daemon (zrd) that manages a local instance of ISC BIND running on the BIG-IP. F5 didn’t reinvent the wheel for DNS records; they simply packaged BIND and built a management layer to handle the zone files. When you create a record in the F5 GUI under DNS > Zones > ZoneRunner, the F5 is essentially writing a standard BIND zone file for you.
When Should You Actually Use ZoneRunner?
In many GSLB (Global Server Load Balancing) environments, the F5 is just a “smart proxy” for a few URLs. But you need ZoneRunner when:
- The F5 is the Authoritative Master: If the BIG-IP is the “Start of Authority” (SOA) for a specific sub-domain (e.g.,
gslb.mmooresystems.com). - Defining “Glue” Records: When you need static A-records, MX records, or TXT records that don’t require intelligent load balancing.
- Providing a Safety Net: ZoneRunner acts as the “fallback” answer if the GTM layer doesn’t have a dynamic answer ready.
2. iQuery: The Nervous System of GTM
If ZoneRunner is the “Database,” then iQuery is the nervous system. iQuery is a proprietary F5 protocol running over TCP port 4353. It is the “secret sauce” that allows a GTM in one data center to talk to an LTM in another.
Without iQuery, your GTM is “blind.” It uses this connection to:
- Monitor Health: Instead of the GTM pinging every server, it asks the local LTM via iQuery: “Are your Virtual Servers healthy?”
- Exchange Metrics: It shares CPU and connection loads so the GTM can steer traffic to the least-burdened data center.
- Sync Everything: It ensures that a configuration change on one GTM is instantly replicated to its peers in the Sync Group.
3. The Handshake: How it All Flows
The magic happens when a DNS query actually hits your Listener (the Virtual Server waiting on UDP/53). The BIG-IP performs a high-speed logic check:
- The GTM Intercept: If the query matches a Wide IP, the GTM layer takes over. It checks the iQuery data for health and path metrics and provides an “Intelligent” answer.
- The BIND Fallback: If the query doesn’t match a Wide IP, the F5 hands the request down to the ZoneRunner/BIND backend to see if a static record exists.
- The Silence: If neither layer has an answer, it returns NXDOMAIN.
Pro-Tips for Greenfield Deployments
Setting this up from scratch? Keep these two “gotchas” in mind:
Watch Your Clocks: iQuery relies on SSL certificates for the bigip_add / gtm_add handshake. If your NTP isn’t synced, the certificates will be rejected, and your iQuery mesh will fail before it starts.
The Listener is King: You can have the most perfect ZoneRunner records and iQuery health checks, but without a DNS Listener defined on a Self-IP or Virtual Server, the BIG-IP will never answer the phone.
Have questions about your GTM mesh or general networking? Reach out!