Project

General

Profile

Actions

Bug #5275

closed

services_dyndns_edit.php there is no save and force update button

Added by Phillip Davis over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
10/07/2015
Due date:
% Done:

100%

Estimated time:

Description

There used to be a "Save and Force Update" button on this screen, so you could make the dynamic DNS try to update itself when you press save.
The button is gone in 2.3-ALPHA
There is a bit of code left in the PHP:
$dyndns['force'] = isset($_POST['force']);

Potentially the design of this could be changed. For me, it would be nice to have a "Force Update" button somewhere that did not require also doing a Save. If you want to change something, you can change it, save and then press "Force Update" if necessary. Then you have the option of just pressing "Force Update" when you want.

Perhaps it could be a button at the end of each row in services_dyndns.php with the Edit and Delete buttons.

Actions #1

Updated by Anonymous over 8 years ago

  • Status changed from New to Feedback
  • Assignee set to Phillip Davis

Save and Force Update button added.
Tested by following code path, but not with a real DynDNS provided.

Actions #2

Updated by Anonymous over 8 years ago

  • % Done changed from 0 to 100
Actions #3

Updated by Phillip Davis over 8 years ago

Fixed, thanks.

I purposely went to DynDNS and changed the IP address of the DynDNS name to some random rubbish and checked it had propogated around the internet (nslookup). Then "Save & Force Update" on the pfSense box.

System log entries when pressing Save & Force Update (with name and address changed a bit to obfuscate):

Oct 7 18:48:29 php-fpm75016: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wandyndns'wan-my-router.dyndns-ip.com'0.cache: 123.4.5.6
Oct 7 18:48:29 php-fpm75016: /services_dyndns_edit.php: phpDynDNS (wan-my-router.dyndns-ip.com): (Success) IP Address Changed Successfully! (123.4.5.6)

Then after a few seconds an "nslookup wan-my-router.dyndns-ip.com 8.8.8.8" returns the correct updated address.

All good, thanks.

Actions #4

Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom PDF