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: 14/12/2021 |
IP Address Update mercredi 8 juin 2022 01:31
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: 25/11/2010 |
IP Address Update mercredi 8 juin 2022 07:40
|
devankistan Joined: 14/12/2021 |
IP Address Update mercredi 8 juin 2022 23:37
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 mercredi 18 décembre 2024 00:10 US Mountain Standard Time
mercredi 18 décembre 2024 00:10