upsert_dns_config
Create or update an internal domain's DNS configuration with upstream servers, resolver strategy, DNS64, search-domain, logging, and site scoping; changes are staged until applied.
Instructions
Create or update a DNS configuration for an internal domain. Returns a change_id; nothing changes until apply_change.
Args: name: The domain name (e.g., "internal.example.com"). server_addrs: List of upstream DNS server IPs (e.g., ["10.0.0.53", "10.0.0.54"]). strategy_resolver: How Bowtie resolves this domain: - "overlay" — resolve via both Bowtie and system DNS, prefer Bowtie - "exclusive" — only resolve via Bowtie's configured servers - "drop" — block all resolution for this domain strategy_dns64: DNS64 behavior: "preferred", "fallback", or "never". is_search_domain: If true, clients add this to their DNS search list. Must be true if using DNS64. is_log: Whether to log DNS queries for this domain. dns_id: UUID to update existing; omit to create new. include_only_site_ids: Limit this DNS config to specific sites (for overlapping IP space).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"server_addrs": "<server_addrs>"
},
"name": "upsert_dns_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| dns_id | No | ||
| is_log | No | ||
| server_addrs | Yes | ||
| strategy_dns64 | No | never | |
| is_search_domain | No | ||
| strategy_resolver | No | overlay | |
| include_only_site_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |