ServerMania logo

Get List of Resolvers

To get the list of all available resolvers in your cloud, use the following request:

 GET /settings/nameservers.xml
GET /settings/nameservers.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.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.json 

XML Output Example

<nameservers type="array">
<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>


address - the resolver IP address

created_at - the timestamp in database when this record was created

network_id - the ID of the network to which this resolver belongs

updated_at - the timestamp in database to which this resolver belongs

id - the ID of this resolver