Project

General

Profile

« Previous | Next » 

Revision 1d333258

Added by Scott Ullrich almost 16 years ago

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on

View differences:

usr/local/www/services_dyndns.php
25 25
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 26
	POSSIBILITY OF SUCH DAMAGE.
27 27
*/
28
/*
29
	pfSense_BUILDER_BINARIES:	/usr/bin/host	
30
	pfSense_MODULE:	dyndns
31
*/
28 32

  
29 33
##|+PRIV
30 34
##|*IDENT=page-services-dynamicdnsclients
......
33 37
##|*MATCH=services_dyndns.php*
34 38
##|-PRIV
35 39

  
36

  
37 40
require("guiconfig.inc");
38 41

  
39 42
if (!is_array($config['dyndnses']['dyndns']))
......
109 112
						$real_int = get_real_interface($if);
110 113
						$filename = "{$g['conf_path']}/dyndns_{$int}dyndns.cache";
111 114
						if(file_exists($filename)) {
112
							$dns_resolv = str_replace("\n", "", `host {$dyndns['host']} | awk '{ print $4 }'`);
115
							$dns_resolv = str_replace("\n", "", `/usr/bin/host {$dyndns['host']} | awk '{ print $4 }'`);
113 116
							$cached_ip_s = split(":", file_get_contents($filename));
114 117
							$cached_ip = $cached_ip_s[0];
115 118
							$int_ip = find_interface_ip($real_int);

Also available in: Unified diff