Class GuiUpdateDns

Description

GuiUpdateDns.php

Long description for file: Using ip.address and systems.name from the FreeNAC 'ip' DB, generate a list of dynamic DNS updates. The DNS update commands are written to $tmp_file, once the file has been written, the dns_update flag is reset for each field. TODO : aliases/CNAMES, then HINFO LOC SVR (separate table)

Inputs: ip.address, systems.name $conf->: ddns_server, dns_domain, ddns_ttl Options: $ddns_level: 0 = all hosts, 1 = hosts with dns_update bit 1 is set Status field

  1. = free
  2. = used: updated by Dyn dns [THIS is the only value we check]
-1 = special address (network address, broadcast) 2 = fixed 3 = reserved

PHP version 5

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Located in /lib/GuiUpdateDns.php (line 38)

Common
   |
   --WebCommon
      |
      --GuiUpdateDns
Method Summary
 GuiUpdateDns __construct ([ $title = "Updating DNS"], [ $debug_level = 1])
 void call_process ( $cmd,  $input)
 void sanitize_name ( $name)
 void UpdateDns ([ $ddns_update_all = FALSE])
 void UpdateDnsAll ()
 void ViewDNS ()
Variables
Methods
Constructor __construct (line 42)
GuiUpdateDns __construct ([ $title = "Updating DNS"], [ $debug_level = 1])
  • $title
  • $debug_level

Redefinition of:
WebCommon::__construct()
call_process (line 81)
  • access: protected
void call_process ( $cmd,  $input)
  • $cmd
  • $input
sanitize_name (line 54)
  • access: protected
void sanitize_name ( $name)
  • $name
UpdateDns (line 119)
  • access: public
void UpdateDns ([ $ddns_update_all = FALSE])
  • $ddns_update_all
UpdateDnsAll (line 75)
  • access: public
void UpdateDnsAll ()
ViewDNS (line 66)
  • access: public
void ViewDNS ()

Inherited Methods

Inherited From WebCommon

 WebCommon::__construct()
 WebCommon::debug()
 WebCommon::Delete()
 WebCommon::get_dose()
 WebCommon::get_hosts()
 WebCommon::get_location()
 WebCommon::get_locationid()
 WebCommon::get_patch()
 WebCommon::get_port_comment()
 WebCommon::get_vlan()
 WebCommon::loggui()
 WebCommon::logit()
 WebCommon::port_delete()
 WebCommon::port_restart_request()
 WebCommon::print_dat_stats()
 WebCommon::print_dot_sel()
 WebCommon::print_footer()
 WebCommon::print_footer_empty()
 WebCommon::print_header()
 WebCommon::print_header1()
 WebCommon::print_headerMin()
 WebCommon::print_headerSmall()
 WebCommon::print_logo()
 WebCommon::print_stats()
 WebCommon::print_switch_sel()
 WebCommon::print_title()
 WebCommon::strip_datversion()

Inherited From Common

 Common::__construct()
 Common::getConnection()
 Common::htmlescape()
 Common::log2db()
 Common::real_escape_string1()
 Common::sqlescape()

Documentation generated on Mon, 06 Oct 2008 01:10:30 +0200 by phpDocumentor 1.4.0