mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
More fine grained update of dyndns and dnsupdate.
This commit is contained in:
parent
2ec2a37468
commit
771df54ef1
@ -36,7 +36,7 @@ require_once("shaper.inc");
|
||||
|
||||
/* Interface IP address has changed */
|
||||
|
||||
$argument = str_replace("\n", "", $argv[1]);
|
||||
$argument = trim($argv[1], " \n");
|
||||
|
||||
if(empty($argument))
|
||||
services_dyndns_configure();
|
||||
|
||||
@ -86,7 +86,7 @@ if (isset($config['system']['dnsallowoverride']))
|
||||
system_resolvconf_generate(true);
|
||||
|
||||
/* perform RFC 2136 DNS update */
|
||||
services_dnsupdate_process();
|
||||
services_dnsupdate_process($interface);
|
||||
|
||||
/* write current WAN IP to file */
|
||||
$fd = fopen("{$g['vardb_path']}/{$interface}_ip", "w");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user