Getting Started
OIDC, RBAC, and Billing
- Authentication & User Info
- User Management
- Ancillary Services
- Teams
- API Credentials
- Roles & Permissions
- Billing - Account
- Billing - Payment Methods
- Billing - Tax IDs
- Billing - Invoices
- Billing - Subscriptions
- Internal M2M
ARP and Devices
- Devices
Developers API
- Sites
- Health
- Synchronous API
- Asynchronous API
- Port Forwards
Asynchronous (MikroTik)
- Bootstrap & Adoption
- Heartbeat
- Jobs
- Runbooks
- Sites
- Internal
- SFTP Auth
Backups
- Site Backups
BGP Feeds And Content Filter
- DNS Policy
- Tunnels & Sites
- Categories & Applications
- BGP Policy
- IP Lists
- Internal Hooks
Captive Portal
- IDP Integrations
- Instances
- Walled Garden
Control Plane Filter
- Policies
- Sites
- Checkin
- Router Commands
- Internal
- Transient Access
- Transient Forward
- Credentials
- Scheduler
CVE Scans
- Scan Schedules
- Scan Results
- CVE Management
- On-Demand Scans
Elastic IP Addressing
- Subnets
- IP Addresses (L2TP)
Logging
- Log Events
Metrics
- Syslog
- ARP
- Interfaces
- MikrotikStats
- Content
- Tunnels
Monitoring & Health
- Faults
Notifications
- Topics
- Groups
Scheduled Scripts
- Community Scripts
- Scheduled Scripts
- AI Generation
Schedules
- Schedules
- Internal
SLA Reports
- SLA Schedules
- SLA Reports
VPN
- Servers
- Sites
- Instances
- Peers
- VPN Client Tokens
- Internal
WAN Failover
- Failover
- Tunnel
- Services
- Gateway
Webhooks
- Integrations
DNS Policy
Get DNS Policy Details
Retrieves details of a specific DNS policy by its UUID.
GET
/
policy
/
{policy}
Copy
Ask AI
curl --request GET \
--url https://api.altostrat.io/content/policy/{policy} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"applications": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"resolvers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"forward_to": "127.0.0.1",
"ip_address": "127.0.0.1"
}
],
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "A",
"fqdn": "<string>",
"target": "192.0.2.10"
}
],
"created_at": "2025-04-07T09:00:21+10:00",
"safe_search": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"option": "<string>"
}
],
"split_horizon_domains": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fqdn": "<string>"
}
],
"attachments": 123,
"sites": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"dns_whitelist": [
"<string>"
],
"dns_blacklist": [
"<string>"
],
"block_adult": true,
"dnr_policy_overlap": true
}
Authorizations
Enter the Bearer token (obtained via authentication or provided internally).
Path Parameters
Response
200
application/json
DNS policy details.
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.altostrat.io/content/policy/{policy} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"applications": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"resolvers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"forward_to": "127.0.0.1",
"ip_address": "127.0.0.1"
}
],
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "A",
"fqdn": "<string>",
"target": "192.0.2.10"
}
],
"created_at": "2025-04-07T09:00:21+10:00",
"safe_search": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"option": "<string>"
}
],
"split_horizon_domains": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fqdn": "<string>"
}
],
"attachments": 123,
"sites": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"dns_whitelist": [
"<string>"
],
"dns_blacklist": [
"<string>"
],
"block_adult": true,
"dnr_policy_overlap": true
}
Assistant
Responses are generated using AI and may contain mistakes.