---
title: "Update nameserver"
method: PUT
path: "/v1beta/dns/nameservers/{name}"
tags: ["NameserverService"]
---

# Update nameserver

`PUT /v1beta/dns/nameservers/{name}`

## Path parameters

- `name` string, required

## Request body

- NameserverNameserver
  - `ip` string
  - `ip6` string
  - `name` string

## Response `200`

A successful response.

- NameserverNameserverBoolResponse
  - `code` integer
  - `data` NameserverNameserverBoolResponseData
    - `success` boolean
  - `desc` string
  - `maintenance` boolean
  - `warnings` ErrorWarning[]
    - `code` integer
    - `data` string
    - `desc` string

## Other responses

- `default` — (empty)

---

[API](https://skmtc.net/openprovider/apis/rest-api.md) · [All operations](https://skmtc.net/openprovider/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openprovider/rest-api/versions/55b7a0062507/schema)
