Topic: IP Address Update
Hello,I am trying to use your v2 API and want to update the IP address from my server.On the page: https://www.dynu.com/Support/API#/I am using POST: /dns/{id} Update an existing DNS service.I am looking to have the ip address set to my public ip address. However when I leave or set to null the ipv4Address property in the json payload, the ip in the control panel is not update. How can I get your API to use the client ip address automatically using a v2 request?Note: It does work if I specify an IPAddress when I make my call when I am testing. However in production, I won't know what the public ipaddress is and the v2 api will know the request ip address.Thank you
Reply with quote | Report
devankistan wrote:Hello,I am trying to use your v2 API and want to update the IP address from my server.On the page: https://www.dynu.com/Support/API#/I am using POST: /dns/{id} Update an existing DNS service.I am looking to have the ip address set to my public ip address. However when I leave or set to null the ipv4Address property in the json payload, the ip in the control panel is not update. How can I get your API to use the client ip address automatically using a v2 request?Note: It does work if I specify an IPAddress when I make my call when I am testing. However in production, I won't know what the public ipaddress is and the v2 api will know the request ip address.Thank you
Reply with quote | Report
Hey, Ye, I already figured that out and did just that. So I am making that extra API call. Was just wondering if I could get away without itThanks
Reply with quote | Report
Author | Topic: IP Address Update |
---|---|
devankistan Joined: 12/14/2021 |
IP Address Update Wednesday, June 8, 2022 1:31 AM
Hello,I am trying to use your v2 API and want to update the IP address from my server.On the page: https://www.dynu.com/Support/API#/I am using POST: /dns/{id} Update an existing DNS service.I am looking to have the ip address set to my public ip address. However when I leave or set to null the ipv4Address property in the json payload, the ip in the control panel is not update. How can I get your API to use the client ip address automatically using a v2 request?Note: It does work if I specify an IPAddress when I make my call when I am testing. However in production, I won't know what the public ipaddress is and the v2 api will know the request ip address.Thank you
|
rahsharma Joined: 11/25/2010 |
IP Address Update Wednesday, June 8, 2022 7:40 AM
|
devankistan Joined: 12/14/2021 |
IP Address Update Wednesday, June 8, 2022 11:37 PM
Hey, Ye, I already figured that out and did just that. So I am making that extra API call. Was just wondering if I could get away without itThanks
|
It is currently Saturday, November 23, 2024 4:38 AM US Mountain Standard Time
Saturday, November 23, 2024 4:38 AM