---
title: "Update this node's DNS, search domains, and host aliases"
method: PUT
path: "/network/global-config"
tags: ["Network"]
---

# Update this node's DNS, search domains, and host aliases

`PUT /network/global-config`

## Request

- Base URL: `https://sylve.lan:8181/api`
- URL: `https://sylve.lan:8181/api/network/global-config`
- Auth: API key in header `Authorization`

## Request body

- GithubComAlchemillahqSylveInternalInterfacesServicesNetworkUpdateGlobalConfigRequest
  - `dnsMode` string
  - `dnsServers` string[]
  - `expectedRevision` integer
  - `hostAliases` GithubComAlchemillahqSylveInternalDbModelsNetworkHostAlias[]
    - `address` string
    - `aliases` string[]
    - `hostname` string
  - `searchDomains` string[]
  - `searchDomainsOverride` boolean

## Response `200`

OK

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400`: Bad Request
- `409`: Conflict
- `413`: Request Entity Too Large
- `500`: Internal Server Error

## Changes

- **2026-10-13** `3b2ab23c2629`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/network/global-config/put.md)

---

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