2.5.0 Route 53 dynamic DNS silently failing
-
My Dynamic DNS configuration with AWS Route 53 appears to be failing silently. I've made several changes to my configuration recently, in this order; here's a summary:
- upgrading to 2.5.0: I believe this configuration still worked
- setting up gateway groups: I believe this configuration still worked
- moving and using a different gateway with a new Internet provider: my IP no longer changes, but pfSense reports successful updates
I haven't changed my Dynamic DNS configuration otherwise.
The correct gateway (or fail-over gateway group, same problem with both) is set in the Dynamic DNS settings page, and the correct public IP appears there. I can force updates, and the logs appear to succeed, but my CNAME records remain unchanged in the Route 53 console. Manually updating the records in the Route 53 console is working for now, but I'd like to get this resolved before my public IP changes again.
Here are verbose logs from a forced update, personal info redacted:
Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Dynamic DNS: updatedns() starting Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Dynamic DNS route53 (MYDOMAIN.COM): XX.XXX.XX.XX extracted from local system. Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Dynamic DNS (MYDOMAIN.COM): running get_failover_interface for wan. found pppoe0 Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Dynamic DNS route53 (MYDOMAIN.COM): _update() starting. Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Sending request to: https://route53.amazonaws.com/2013-04-01/hostedzone/*****************/rrset Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Header: Content-Type: text/xml Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Header: X-Amz-Date: 20210306T041301Z Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Header: Authorization: AWS4-HMAC-SHA256 Credential=******************/20210306/us-east-1/route53/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=*********************************************** Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: XMLPOST: <?xml version="1.0" encoding="UTF-8"?><ChangeResourceRecordSetsRequest xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><ChangeBatch><Changes><Change><Action>UPSERT</Action><ResourceRecordSet><Name>MYDOMAIN.COM</Name><Type>A</Type><TTL>300</TTL><ResourceRecords><ResourceRecord><Value>XX.XXX.XX.XX</Value></ResourceRecord></ResourceRecords></ResourceRecordSet></Change></Changes></ChangeBatch></ChangeResourceRecordSetsRequest> Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Response Header: Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Response Data: Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Dynamic DNS route53 (MYDOMAIN.COM): _checkStatus() starting. Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: Dynamic DNS route53 (MYDOMAIN.COM): XX.XXX.XX.XX extracted from local system. Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_WANPreferFiberoute53'MYDOMAIN.COM'5.cache: XX.XXX.XX.XX Mar 5 23:13:01 php-fpm 81447 /services_dyndns_edit.php: phpDynDNS (MYDOMAIN.COM): (Success) IP address changed successfullyAny ideas? The response header & data seem to be empty; is that expected?