/network/dns
Retrieves the DNS information on the system.
GET /network/dns
Method
Response Payload
JSON
{ "hostname": "xms.localdomain", "search": "dialogic.com", "nameserver": [ { "addr": "10.20.106.1" }, { "addr": "10.20.106.2" } ] }
Configures the DNS information on the system.
PUT /network/dns
Request Payload
{ "hostname" : "ab.xyz.com", "search" : "xyz.com", "nameserver":[{ "addr": "192.168.23.1" }, { "addr": "192.168.23.2" }] }