---
title: "Update DNS settings for an organization"
method: POST
path: "/organizations/dns_settings"
tags: ["Organizations"]
---

# Update DNS settings for an organization

`POST /organizations/dns_settings`

## Request

- Base URL: `https://api.border0.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.border0.com/organizations/dns_settings`
- Auth: none declared

Updates DNS configuration including global DNS servers and split DNS rules

## Request body

- V1DnsSettingsRequest
  - `dns` V1DnsConfig
    - `custom` string[]: Only used when mode is "custom"
    - `mode` string: "system", "preset", or "custom"
    - `preset` string: Only used when mode is "preset"
  - `dns_enabled_by_default` boolean
  - `split_dns_rules` ModelsSplitDNSRule[]
    - `dns_servers` string[]
    - `domain` string

## Response `200`

OK

- object

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/border0/apis/border0-api.md) - [All operations](https://skmtc.dev/border0/apis/border0-api/llms.txt) - [OpenAPI document](https://skmtc.dev/border0/apis/border0-api/revisions/f0ccef7418d8?raw)
