kategray / dns-challenge-cloudflare Goto Github PK
View Code? Open in Web Editor NEWAutomatically performs DNS challenges with CloudFlare (for mod_md)
License: The Unlicense
Automatically performs DNS challenges with CloudFlare (for mod_md)
License: The Unlicense
The configuration section in README.md refers to /etc/dns-challenge.yaml, but the constant in Application.php looks for /etc/dns-challenge.yml
I ran into an issue where the command failed when the content of the record name starts with a - (dash).
I.e.
$ /usr/local/sbin/dns-challenge setup domain.tld -OT31337Nfb9oUNZTH4cKErfJXPsSVsIKJmrTewFsJ
The "-O" option does not exist.
setup <zone> <challenge>
My workaround here was to add -- (double dash) to specify end of command options for the MDChallengeDns01
MDChallengeDns01 /usr/local/sbin/dns-challenge --
In SetupCommand.php, the TTL is still hard-coded:
if (false !== $challenge) {
// Create a new record
$result = $dns->addRecord($zone_id, $record_type, $record, $challenge, 120, false);
}
This needs to respect the configuration file.
The application can use a bit more documentation for consistency.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.