---
title: "Name server object"
url: "https://help.internetx.com/en/api/core-name-server-object/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Objects"
updated: "2023-09-25"
---

# Name server object

## Function

The _NameServer_ object represents a name server. A name server handles a zone. Subobject of the [Zone](/en/api/core-zone-object/) object  the [Domain](/en/api/core-domain-object/) object.  

## Description

| Keyword JSON | Kexword XML | Occurs | Type | Format | Description |
| --- | --- | --- | --- | --- | --- |
| ttl | ttl | 0 - 1 | integer | int64 | Time-to-live value of the nameservers in seconds |
| name | name | 1 | string | hostname | Host name of the nameserver written as a Fully-Qualified-Domain-Name (FQDN) |
|  | ip6 | 0 - n\*) | string | ipv6 | IPv6 address of the name server. For GLUE records only, optional.<br>The IPv6 address for the name server can only be specified if the IPv4 address is also specified. |
|  | ip | 0 - n\*) | string | ipv4 | IPv4 address of the name server. Only for GLUE records, but mandatory there.<br>A GLUE record exists if the name server ends on the domain name. In this case, an IPv4 address must be stored for each GLUE record. Please note that for some registries, all GLUE name servers are removed from the order at _DomainCreate_, because they require registered domains for the creation of name servers. In this case you have to create the GLUE name servers via a _DomainUpdate_ order after the registration. |
| ipAddresses |  | 0 - n | string | ipv4 / ipv6 | IPv4 and IPv6 addresses of the name server. For GLUE records only; optional.<br>The values for the IP addresses are only relevant for domain operations and are only used there in the case of glue name servers. |

\*) Depends on the registry
