configuration / network / general

CLI REST-API

nameserver-2

Nameserver 2
This is a read-write object and valid values are hosts.

Datatype-Help:
valid values can be an ipv4-address, an ipv6-address or a hostname.
the IP address should looks like this: A.B.C.D
every letter is one number that goes from 0 - 255.
example: 192.168.0.45
the ipv6-address should looks like this: AAAA:BBBB:CCCC:DDDD:EEEE:FFFF:GGGG:HHHH/I
letters A - H are hex-digits.
valid hex-digits are: 0-9 and a-f.
letter I is a decimal number that goes from 0 to 128 and is a subnetmask.
example: 2001:0db8:85a3:08d3:1319:8a2e:0370:7344/64
the hostname should be a string.
the maximal total-length is 255 characters.
the maximal label-length is 63 characters.
allowed characters are a-z, 0-9, dot and dash.
dashes are not allowed to be near dots.



See also:
/configuration/network/general: General Information
/configuration/network/general/hostname: Hostname
/configuration/network/general/domainname: Domainname
/configuration/network/general/nameserver-1: Nameserver 1
/configuration/network/general/ipv4-gateway: IPv4 Gateway
/configuration/network/general/ipv6-gateway: IPv6 Gateway
/configuration/network/general/cluster-port: Cluster Port
/configuration/network/general/cluster-multicast: Cluster Multicast Address
/configuration/network/general/dscp-ntp: DSCP NTP Classification
/configuration/network/general/bonding-mode: Bonding-Mode
/configuration/network/general/syslog-pingcheck: System-Log Pingcheck
/configuration/network/general/enable-alternate-prio1: enable alternate priority 1
/configuration/network/general/alternate-priority1: alternate priority1
/configuration/network/general/use-hps-card-slot-id: use hps card slot id

REST-API Support:


This object is supported by the REST API:

Method: GET
URL: /api/configuration/network/general


Example using curl:
curl /api/configuration/network/general


Method: PATCH
URL: /api/configuration/network/general
Body:
{
  "nameserver-2": "www.meinberg.de"
}

Example using curl:
curl -X PATCH /api/configuration/network/general -d
{
  "nameserver-2": "www.meinberg.de"
}