artisan-cloudflare icon indicating copy to clipboard operation
artisan-cloudflare copied to clipboard

planning on adding other commands?

Open vesper8 opened this issue 7 years ago • 4 comments

i find this very useful for purging the cache, but wondering if you have any plans on adding commands for all of the other endpoints such as dns management?

vesper8 avatar Mar 29 '17 09:03 vesper8

Hi @vesper8 ,

Currently I have no plans for adding more features, but I could add a few commands that make sense on the Artisan CLI.

Could you tell me more about what you're looking for? What would you like to perform regarding DNS management via Artisan?

sebdesign avatar Mar 29 '17 21:03 sebdesign

Well one thing I would like to perform is replace an ip by another ip for all records that point to that ip

So the command would accept 3 parameters, the domain name, current ip and new ip, then it would iterate through all zones for that domain, identify the ones that currently point to ip1 and change it for ip2

very handy when migrating servers, which happens to be something I do often lately

vesper8 avatar Mar 31 '17 05:03 vesper8

Hi I was interested in adding custom firewall rules. So that in case of an attack, the package can submit the IP of the attacker to the banned IP.

Blair2004 avatar Mar 10 '21 08:03 Blair2004

Hi I was interested in adding custom firewall rules. So that in case of an attack, the package can submit the IP of the attacker to the banned IP.

I actually had the same requirement that @Blair2004 mentioned, and I have developed the command in the PR #23 . Feel free to review the pull request and let me know if you have any feedback or suggestions.

oscar-ol avatar May 26 '23 16:05 oscar-ol