CF DDNS wants int for TTL. Issue #10196
(cherry picked from commit e9869c5abc70dc4aa7cd27d2a139696a1970903f)
Add TTL for CloudFlare DDNS. Fixes #10196
(cherry picked from commit 9404b54a44a820b9c0332149a6ea794eed54bdac)
This is 2020. Issue #9245
Update copyright notice years. Issue #9245
Add Gandi LiveDNS DynDNS client.
(cherry picked from commit edfe22f8bae894eb678f3e7060cc91cea6f664da)
Fix handing of DNSimple API response
It seems DNSimple started using HTTP/2, which broke the regex the dnsimple updater was using to check for success. I changed it to use the CURLINFO_HTTP_CODE instead.
I noticed several other providers are using the regex status match instead of HTTP_CODE, but I didn't touch those. I haven't written any PHP in 20 years, and I don't use those providers to test them. This change works for me for DNSimple now....
Do not use constructor with the same name of class, it's going to be deprecated
(cherry picked from commit d43154fee7d7c2a5a007f36da7d86a94bd197a85)
Fixed #8014
Fixed wildcard variable not being set correctly.Updated CURLOPT_URL according to provider's documentation.Added support for MX records.
(cherry picked from commit cedc8184606a4cfdf6cb7542e43d205205005865)
Update dyndns.class
(cherry picked from commit 0c43f8256edf08e473caae8c7dad0936ada2fd90)
Azure DDNS whitespace only
(cherry picked from commit ed5b58a752a2241ce052851def2a7c846361146d)
Linode Dynamic DNS syntax fixes
(cherry picked from commit bd0a29ea21d0a5230b74410a7a4c1289fef38e89)
Add Dynamic DNS support for Linode #9268
(cherry picked from commit b923a8251ca4b899936156db48fb9253745c41e3)
Fix AzureV6 DynDNS client
`AAAARecords` in the Azure DNS API is case sensitive
Documentation: https://docs.microsoft.com/en-us/rest/api/dns/recordsets/createorupdate(cherry picked from commit 1ca156ea0875014b5175855c9fe8459950173d0b)
Fix DigitalOcean DynDNS client
Fixes the check on the return value since it's been updated to useHTTP/2 syntax. Also adds logic to allow using `@` to denote updating theroot domain A record as well.
(cherry picked from commit 5878d529949aafef165acdce8e7daae234c9d2c4)
Fix erroneous hostname error for Custom IPv6. Fixes #8977
(cherry picked from commit 45ff6b8f1d574b3786d25286abc4978427675974)
enable ip send for FreeDNS DynDNS update
without this, only legacy IP records get updated correctly.
redmi ticket: https://redmine.pfsense.org/issues/8924
(cherry picked from commit 44857365cd397a468fadd79dea75a375f289f32b)
Fix custom dyndns issue: username and password was not sent with curl flag AUTH_ANY
Merge pull request #3946 from martinisoft/martinisoft/dnsimple_v2_api
Teach DynDNS to use custom IP check services. Fixes #8664
PHP7 fixed illegal argument supplied foreach()
Cleanup the comment to be clearer
Update to DNSimple APIv2 endpoint
PHP7 - Resolve undefined constant warning in dyndns.class
Merge branch 'master' into add_do_dyndns
Add DigitalOcean DynDNS client
Remove Whitespace
Redmine # 7769: Add support for Azure DNS to DynamicDNS
missed a few
Change CloudFlare to Cloudflare
This commit also includes misc. whitespace removal on the affected files.
fix typos
Update the Copyright notice for pfSense.
Merge branch 'master' into master
Feature #8123: Add GoDaddy as a Dynamic DNS provider
adding route53-v6 case
adding route53-v6 to allow dynamic dns to update route 53 with a AAAA type.
dyndns: Adding support for ClouDNS (https://www.cloudns.net)
Fix DNS wildcard support for Loopia
Fix for the problem that wildcard CNAME records disappear from Loopia when doing a DNS update. As discussed here: https://forum.pfsense.org/index.php?topic=67793.0
Merge pull request #3579 from frankthetank/dyndns_dreamhost
Removed previous invalid conditionals and replaced with guard flags.
Also updated some comments based on review / feedback.
Aggregated case statements to avoid duplication.
Changes tab levels for new case/switch blocks to match K&R BSD style.
https://www.freebsd.org/cgi/man.cgi?query=style&sektion=9
Added last tested date to DreamHost IPv4 record.
I cannot add a test date to IPv6 because my local ISP does not supportit yet. Dreamhost supports IPv6 records and I can manually alter anIPv6 address through the same API. I just can't test it throughpfsense.
Resolved some unusual formatting errors that crept into the request.
Merge branch 'master' of https://github.com/pfsense/pfsense intodyndns_dreamhost
Merge pull request #3549 from xygrec/patch-dyndns-hover
Merge pull request #3608 from jxmx/7206_route53
Allow CloudFlare DDNS entries to use "" or "." for the hostname portion of the domain in the GUI to update the domain's @ record. Then in the backend code, remove that from the FQDN since CloudFlare doesn't like that to be sent explicitly. Fixes #7357
" or "
Fix is confirmed to work by two forum users: https://forum.pfsense.org/index.php?topic=122099.msg699763#msg699763
use right var for zoneid
revert parsing of config field for region
Use | to separate dyndns IPv4 fields on cache file as done by rfc2136 items and for all IPv6 items
Switched API key usage from username to password fields for protection.
This prevents accidentally leaking the Dreamhost API key to casualrouter administrators.
Implemented Dreamhost ISP dynamic DNS updates.
Dreamhost does not allow direct record updates through their API.Records must be deleted and then added. Unfortunately, to delete therecord you must first retrieve the existing record to be able to passback the old IP address for delete....
implement AWS API v4 signing
commit initial fix; need to add hooks for region to zone id
Code with multiple %s in etc
Merge pull request #3342 from PiBa-NL/dyndns.class_json_body
Merge pull request #3132 from WorldTech-Solutions/master
dyndns.class, fix json curl body parsing for Cloudflare by not including headers
Specify IP to set for zoneedit
fix typo from merge
Merge remote-tracking branch 'upstream/master' into 6751_route53
- added support for duiadns.net ipv4 and ipv6
add All-Inkl to dyndns.class
Store Dynamic DNS passwords in Base64 to protect special characters. Fixes #6688
Convert CloudFlare and GratisDNS dynamic DNS over to split hostname and domain name fields, like Namecheap. Otherwise they could both break with subdomains or international TLDs with many parts. Fixes #6778
dyndns: add header processing in curl
some dyndns implementations rely on the correct HTTP header being set. the information was lost and now fixed.
Remove all calls to conf_mount_r* functions
Added support for CloudFlares Proxy.Included a checkbox to enable and disable this feature when CloudeFlaretype is selected.Included proxied variable in the update script as well.
Defaults to false, as the is the current functionality
Added help text...
Move copyright from ESF to Netgate
move back to r53.class for license continuity
note inspiration/sanity check from r53.class code
fix testing headers for bad data
noted testing for Route53
Fixed status success message typo and cleaned up
fix auth header and minor XML tag issue
initial commit of code -- having a signing error
Fix a redundant HTTP "User-Agent" string.
CURLOPT_USERAGENT expect the value to the user-agent string, not the entire key-value pair.Before this fix, HTTP header "User-Agent: User-Agent: phpDynDNS/0.7" was sent for DDNS updates.NGINX configuration at GratisDNS will not accept a user-agent formatted in the above way....
dyndns: add IPv6 support for CloudFlare
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Move to Apache License 2.0
Review license / copyright on all files (1st round)
spdns.de renamed to spdyn.de
The service renamed there addresses
Merge pull request #2926 from TechSmurf/patch-1
Bug fixes to Route53 DynDNS
Fixed a bug regarding a leading space in $ZoneID that causes an AWS 505 error. Also adds support for updating DNS if TTL changes.
Add freeDNS v6 support
FreeDNS IPv6 support confirmed working using same method as v4 with v6 source address. Simple second service with _useIPv6
Miscellaneous - Remove Personalizations
Remove "you" personalizations.
Includes - Remove Personalizations
use get_interface_ip functions rather than find_ since the former handles VIPs, gateway groups, etc. correctly. Ticket #4858
Add IP to dyndns error log, remove often wrong explanation.
Replace deprecated link_carp function, fix sprintf. Ticket #4858
Internationalize dyndns.class
I tried to consolidate and make some of the message logging more consistent along the way.
Merge pull request #2574 from tiagobar/master
Change Namecheap dyndns to use split hostname and domain name fields. Upgrade existing entries automatically. Implements #4366Code should be generic enough that if other DynDNS providers would work better with a separate domain field, they can pick up the feature without too much trouble.
Dynamic DNS URL for NO-IP needs to be updated.
Update URL for dyns to match their current docs. Reported by GP^ on IRC
Stop DynDNS from turning off CloudFlare
By having 'proxiable' and 'proxied' values set to false, CloudFlare is turned off (i.e. not go through CloudFlare) for the domain when updating the DNS records.
Setting them to 'true' would turn CloudFlare on that domain, however the user may have disabled it for their own reasons and would not like it changed....
Code style and white space in etc
Add DynDNS provider SPDNS (IPv4 and IPv6)
SPDNS is a free DynDNS service from the German company SecurepointSecurity Solutions
add server response to failed updates; make debugging much easier