This function retrieves a nameserver's IP address.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ lookupnsip \ host='ns1.example.com'
{- "data": {
- "ip": "192.168.0.20"
}, - "metadata": {
- "command": "lookupnsip",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}