sebdesign / artisan-cloudflare

Laravel artisan commands for CloudFlare
MIT License
78 stars 7 forks source link

planning on adding other commands? #4

Open vesper8 opened 7 years ago

vesper8 commented 7 years ago

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?

sebdesign commented 7 years ago

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?

vesper8 commented 7 years ago

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

Blair2004 commented 3 years ago

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.

oscar-ol commented 1 year ago

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.