Public
Authored by Mike Jones

Update a pfSense alias with a value from a Cloudflare DNS record

This is untested in production

Don't bother:

  • You can just use a DNS entry as the alias entry.

Usage:

php update_aliases.php \
    --configFile=/path/to/config.xml \
    --aliasName=Home \
    --cloudflareEmail=me@email.com \
    --cloudflareAPIKey=CLOUDFLAREAPIKEYHERE \
    --cloudflareRecordName=CLOUDFLARERECORDNAMEHERE \
    --cloudflareZoneId=CLOUDFLAREZONEIDHERE;
Edited
4.62 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment