1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CLOUDNS: Implement PTR Record Support (#999)

* Add PTR support for ClouDNS

* Implement PTR Support for CLouDNS

Co-authored-by: IT-Sumpfling <it-sumpfling@maxit-con.de>
Co-authored-by: bentaybi jamal <jamal@pfalzcloud.de>
This commit is contained in:
taybinakh
2020-12-22 19:32:00 +01:00
committed by GitHub
parent c89f14e926
commit e9f4257ad2
5 changed files with 13 additions and 6 deletions

View File

@@ -192,7 +192,7 @@ func (c *cloudnsProvider) get(endpoint string, params requestParams) ([]byte, er
req, _ := http.NewRequest("GET", "https://api.cloudns.net"+endpoint, nil)
q := req.URL.Query()
//TODO: Support sub-auth-id / sub-auth-user https://asia.cloudns.net/wiki/article/42/
//TODO: Support sub-auth-user https://asia.cloudns.net/wiki/article/42/
// Add auth params
q.Add("auth-id", c.creds.id)
q.Add("auth-password", c.creds.password)