StackExchange / dnscontrol

Infrastructure as code for DNS!
https://dnscontrol.org/
MIT License
3.1k stars 391 forks source link

Porkbun URL forwarding #3020

Closed viharm closed 1 month ago

viharm commented 3 months ago

Is your feature request related to a problem? Please describe. Does not support "URL" for Porkbun

Describe the solution you'd like Porkbun API supports the URL Forwarding functionality.

Describe alternatives you've considered Set URL forwarding on the web interface, then add lines for ALIAS & CNAME pointing to Porkbun's servers.

Additional context N.A.

cafferata commented 3 months ago

cc @imlonghao, the maintainer of the Porkbun provider.

imlonghao commented 3 months ago

I'm doubting how many users use their API for URL forwarding.

The API endpoint for "Domain Delete URL Forward" on the docs is incorrect, shows https://api.porkbun.com/api/json/v3/domain/addUrlForward/DOMAIN/RECORD ID but the correct one should be https://api.porkbun.com/api/json/v3/domain/deleteUrlForward/DOMAIN/RECORD ID which is undocumented.

:|

ajh0912 commented 2 months ago

I contacted their support, they've fixed Domain Delete URL Forward now.

viharm commented 1 month ago

@imlonghao & @ajh0912 , thanks for addressing this.

To answer @imlonghao’s query, I also use my dnscontrol configs as a way to document all my dns settings. I’m not sure if there are others like me.

In any case, I really appreciate your help, thanks so much :-)