CMD_API_DNS_ADMIN & CMD_API_DNS_CONTROL return url encoded zone

Version 1.264

Feature
Finished

Currently: CMD_API_DNS_CONTROL?domain=domain.com CMD_API_DNS_ADMIN?domain=domain.com Both return the raw zone file. This feature will allow you to use: CMD_API_DNS_CONTROL?domain=domain.com&urlencoded=yes CMD_API_DNS_ADMIN?domain=photosbymark.com&urlencoded=yes to give a far easier parseable output. Output is 1 line per type. Url encoded. Sample output: A=fpdomain%2Ecom%2E=%31%39%32%2E%31%36%38%2E%30%2E%32&ftp=%31%39%32%2E%31%36%38%2E%30%2E%32&localhost=%31%39%32%2E%31%36%38%2E%30%2E%32&mail=%31%39%32%2E%31%36%38%2E%30%2E%32&pop=%31%39%32%2E%31%36%38%2E%30%2E%32&www=%31%39%32%2E%31%36%38%2E%30%2E%32 NS=ns%31%2Esteve%2Ecom%2E=fpdomain%2Ecom%2E&ns%32%2Esteve%2Ecom%2E=fpdomain%2Ecom%2E MX=mail=%31%30 CNAME= PTR= TXT=fpdomain%2Ecom%2E=%22v%3Dspf%31%20a%20mx%20ip%34%3A%31%39%32%2E%31%36%38%2E%30%2E%32%20%3Fall%22 AAAA= SRV=

Interested to try DirectAdmin? Get a 30-day Free Trial!