dnsserver

Use this command to specify DNS Servers.

Configuration Objects

Usage

FlexSwitch(config)#dnsserver 10.11.12.1

Settings

Context Description
dnsserver DNS Server IP

Available Commands

Command Purpose
dnaserver <string> Specify the IP address of the dns server

Example

Commands:

FlexSwitch(config)#dnsserver 10.11.12.1
FlexSwitch(config-dnsserver)apply

Response:

FlexSwitch(config-dnsserver)#apply
Applying Config:
id: 11  object: DNSServer   status: APPLIED CONFIG  valid: True delete: False num user cmds: 1
 command                 attr         value         model attr    iskey    required    userprov    time provisioned         
----------------------------------------------------------------------------------------------------------------------------
 dnsserver 10.11.12.1    dnsserver    10.11.12.1    IPAddr        True     X           X           Thu Sep  7 10:39:57 2017 

sdk:createDNSServer(10.11.12.1,) result: SUCCESS: http status code: 201