ServerMania logo

Get Resolver Details

To get details for a particular resolver, use the following request:

GET /settings/nameservers/:id.xml
GET /settings/nameservers/:id.json

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://test/settings/nameservers/1.xml

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://test/settings/nameservers/1.json

XML Output Example

<nameserver>
<address>8.8.8.8</address>
<created_at type="datetime">2011-02-14T15:55:44+02:00</created_at>
<network_id type="integer">1</network_id>
<updated_at type="datetime">2011-02-14T15:55:44+02:00</updated_at>
<id type="integer">1</id>
</nameserver> 


The parameters are the same as for Get List of Resolvers request.