Edit DNS Monitor API


This API allows you to edit the values used in the DNS Monitor.

Syntax

By Resource ID:

https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=DNSMonitor&resourceid=[RESOURCEID]&newdisplayname=[NEWDISPLAYNAME]&pollInterval=[pollInterval]&domain=[DOMAIN]&isProxyNeeded=[ISPROXYNEEDED]&timeout=[TIMEOUT]

By Display Name:

https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=DNSMonitor&displayname=[DISPLAYNAME]&newdisplayname=[DISPLAYNAME]&pollInterval=[pollInterval]&LookupAddress=[LOOKUPADDRESS]&RecordType=[RECORDTYPE]&SearchField=[SEARCHFIELD]&SearchValue=[SEARCHVALUE]&TargetAddress=[TARGETADDRESS]&timeout=[TIMEOUT]

Supported HTTP method: POST

Allowed roles: Administrator

Request Parameters

Field Description
LookupAddress The address you want to check in the DNS Server.
RecordType The expected record type returned for the lookup address. The options include -None-, A, AAAA, CNAME, MX, NS, PTR, SOA, SPF, SRV, TXT.
SearchField The value of Search Field. Options include -None-, Record Name, Address, Additional Name, Target, Admin, Host, Alias, Port, Priority.
SearchValue The value you want to search in the specified field.
TargetAddress Host Name / IP Address of the DNS Server.
timeout The timeout value in seconds.
Other Common APIs

Example Requests

  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DNSMonitor&resourceid=10000657&LookupAddress=sample
  • https://apm-prod-server:8443/AppManager/xml/ EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DNSMonitor&resourceid=10000657&RecordType=AAAA
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DNSMonitor&resourceid=10000657&SearchField=Host
  • https://apm-prod-server:8443/AppManager/xml/ EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DNSMonitor&resourceid=10000657&SearchValue=zoho
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DNSMonitor&resourceid=10000657&TargetAddress=192.168.5.11
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DNSMonitor&resourceid=10000657&LookupAddress=sample&RecordType=AAAA&SearchField=Host&SearchValue=zoho&TargetAddress=192.168.5.11&timeout=45