Updating an existing Real Time Traffic Management(RTTM) service region pool entry in the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
In order for monitoring to occur on your account, please make sure the IP addresses included here (https://manage.dynect.net/help/agents.html) can reach all your network endpoints. The web page requires you to log-on to Dyn’s Managed DNS.
Understanding How The API Works »
REST Syntax
Click to view all REST Resources |
/REST/RTTMRegionPoolEntry/ PUT — Updates an existing RTTM service region pool entry in the zone/node indicated.
HTTP Action — PUT
URI — https://api.dynect.net/REST/RTTMRegionPoolEntry/<zone>/<fqdn>/<region_code>/<address>/
NOTE: Pools that are being auto-populated cannot be modified by this command.
|
Arguments — Click for More Info
- string
new_address — If provided, a new IPv4 address or FQDN of this Node IP.
- string
label — A descriptive string identifying this IP.
- string
weight — A number from 1-15 describing how often this record should be served. The higher the number, the more often the address is served.
- string
serve_mode — Sets the behavior of this particular record.
Valid values:
always – Always serve this IP address.
obey – Serve this address based upon its monitoring status.
remove – Serve this address based upon its monitoring status. However, if it goes down, don’t automatically bring it back up when monitoring reports it up.
no – Never serve this IP address.
|
Response — Click for More Info
- integer
task_id – The number assigned to the task to update the RTTM Region Pool Entry.
- string
address — The IPv4 address or FQDN of this Node IP.
- string
region_code — Name of the region.
Valid values:
US West
US Central
US East
EU West
EU Central
EU East
Asia
global
- string
label — A descriptive string identifying this IP.
- string
weight — A number from 1-15 describing how often this record should be served. The higher the number, the more often the address is served.
- string
serve_mode — Sets the behavior of this particular record.
Valid values:
always – Always serve this IP address.
obey – Serve this address based upon its monitoring status.
remove – Serve this address based upon its monitoring status. However, if it goes down, don’t automatically bring it back up when monitoring reports it up.
no – Never serve this IP address.
- string
status — The current state of the Node IP.
Valid values:
unk – The state of the IP address is not yet known.
up – The IP address is up.
down – The IP address is down.
- array
log — Recent monitoring logs for this IP.
- string
status — The state of the Node IP at the time of the log entry.
Valid values:
unk – The state of the IP address is not yet known.
up – The IP address is up.
down – The IP address is down.
- string
message — If status is down, an error message explaining the failure.
- string
time — The time or probe interval when this log entry was generated.
- string
site_code — The airport code of the monitoring site that generated this log entry.
- string
fqdn — Fully qualified domain name of a node in the zone.
- string
zone — Name of the zone.
|
SOAP Syntax
Click to view all SOAP Commands |
UpdateRTTMRegionPoolEntry — Creates a new entry in a Real Time Traffic Management service region pool.
NOTE: Pools that are being auto-populated cannot be modified by this command.
|
Arguments — Click for More Info
- string
address — Required. The IPv4 address or FQDN of the Node IP.
- string
region_code — Required. Name of the region.
Valid values:
US West
US Central
US East
EU West
EU Central
EU East
Asia
global
- string
new_address — If provided, the new IPv4 address or FQDN of the Node IP.
- string
label — A descriptive string identifying this IP.
- string
weight — A number from 1-15 describing how often this record should be served. The higher the number, the more often the address is served.
- string
serve_mode — Sets the behavior of this particular record.
Valid values:
always – Always serve this IP address.
obey – Serve this address based upon its monitoring status.
remove – Serve this address based upon its monitoring status. However, if it goes down, don’t automatically bring it back up when monitoring reports it up.
no – Never serve this IP address.
- string
fqdn — Required. Name of node where the service exists.
- string
token — Required. The session identifier.
- string
zone — Required. Name of zone where the service exists.
|
Response — Click for More Info
- integer
task_id – The number assigned to the task to update the RTTM Region Pool Entry.
- hash
data
- string
address — The IPv4 address or FQDN of this Node IP.
- string
region_code — Name of the region.
Valid values:
US West
US Central
US East
EU West
EU Central
EU East
Asia
global
- string
label — A descriptive string identifying this IP.
- string
weight — A number from 1-15 describing how often this record should be served. The higher the number, the more often the address is served.
- string
serve_mode — Sets the behavior of this particular record.
Valid values:
always – Always serve this IP address.
obey – Serve this address based upon its monitoring status.
remove – Serve this address based upon its monitoring status. However, if it goes down, don’t automatically bring it back up when monitoring reports it up.
no – Never serve this IP address.
- string
status — The current state of the Node IP.
Valid values:
unk – The state of the IP address is not yet known.
up – The IP address is up.
down – The IP address is down.
- array
log — Recent monitoring logs for this IP.
- string
status — The state of the Node IP at the time of the log entry.
Valid values:
unk – The state of the IP address is not yet known.
up – The IP address is up.
down – The IP address is down.
- string
message — If status is down, an error message explaining the failure.
- string
time — The time or probe interval when this log entry was generated.
- string
site_code — The airport code of the monitoring site that generated this log entry.
- string
fqdn — Fully qualified domain name of a node in the zone.
- string
zone — Name of the zone.
|
Example Request — Click for More Info
{
'zone' => 'example.com',
'fqdn' => 'somehost.example.com',
'token' => 'asdlj34ot879834cdzjklfK',
'address' => '1.2.3.4',
'region_code' => 'US East',
'serve_mode' => 'obey',
}
or
{
'zone' => 'example.com',
'fqdn' => 'somehost.example.com',
'token' => 'asdlj34ot879834cdzjklfK',
'address' => '1.2.3.4',
'region_code' => 'US East',
'new_address' => '5.6.7.8',
'serve_mode' => 'obey',
}
|
<< DNS API Knowledge Base