- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
As modern enterprises evolve into highly distributed network environments, securing the DNS layer across hundreds of branches, campuses, and data centers has transitioned from a best practice to a critical requirement. Palo Alto Networks Advanced DNS Security Resolver (ADNSR)—powered by Precision AI—provides robust, cloud-delivered defense against advanced threats like C2 channels, DNS tunneling, and malicious software hosting domains right at the DNS layer.
However, as your footprint scales, configuring and updating the connection source IP addresses and subnets for these branch sites manually inside a graphical user interface (GUI) can become a tedious, error-prone task, introducing severe operational bottlenecks. To solve this, the recent May 2026 release introduces programmatic configuration support via REST APIs for ADNSR. Customers managing multiple distributed sites can seamlessly automate network configuration and resolver management pipelines, with full documentation readily accessible via the pan.dev portal.
In this blog, we will explore the major advantages of transitioning to an API-driven DNS security architecture and provide a complete usability walk-through to help you integrate ADNSR workflows into your DevOps or NetSecOps automated pipelines.
Relying purely on UI workflows creates gaps between security administration and infrastructure deployment. Embracing a programmatic approach with REST APIs unlocks several immediate business and technical benefits:
Configuring your Advanced DNS Security Resolver programmatically is a clean, multi-step process that bridges your API client directly with the Strata Cloud Manager platform. Let's walk through the end-to-end usability flow for creating a Connection Source object.
Before interacting with any ADNSR resources, your automated systems must establish identity and secure access. SCM mandates OAuth 2.0 authentication via service accounts.
Once authenticated, use this token in the header of all subsequent config requests.
Connection sources define the egress IP addresses from your network environments authorized to forward traffic to ADNSR. Using your favorite API client (such as Postman or a custom cURL script), you can provision these sources instantly.
Send a POST request to target the ADNSR connection sources configuration path:
Example JSON Request Body:
JSON
{
"name": "cx-using-api",
"profile_id": "1",
"description": "Test-Profile"
}
The API Response: When the system successfully registers your input, the server returns a 201 Created status code along with a populated object payload reflecting its assigned metadata:
JSON
{
"item": {
"id": "1a022211-748a-44d5-8431-77f6dc1131ab",
"name": "cx-using-api",
"description": "Test-Profile",
"type": "Custom",
"profile_id": "1",
"profile_name": "best-practice"
}
}
One of the core advantages of the SCM architecture is the immediate consistency between programmatic actions and human visibility.
As soon as the 201 Created payload is returned by the API server, your configuration is live inside the Strata Cloud Manager hub. If an administrator opens the Connection Sources UI matrix under the ADNS Resolver menu, the programmatically created entry (cx-using-api) automatically populates with its specified type (Custom), DNS Profile assignment (best-practice), and the given Description. From there, you are ready to bind the respective IPv4/IPv6 egress addresses and complete validation.
The addition of API capabilities to the Advanced DNS Security Resolver reflects the reality of modern security engineering: protection must move at the speed of software. By decoupling your DNS layer defense from manual adjustments, you scale threat intelligence effortlessly, safeguard dual-stack workloads, and enforce consistent control globally.
Using the APIs you can now programmatically automate and manage your entire DNS security posture across these core areas:
Ready to start building? Explore the exhaustive API documentation and release guidelines on our official developer platforms:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Likes Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |

