dnsPrimary = $aDnsPrimary; $this->dnsSecondary = $aDnsSecondary; } }; $dns = new CDns( $_POST['dnsPrimary'], $_POST['dnsSecondary'] ); set_network_dns($user, $dns ); // Changing the hostname or DNS does not require the browser to lose communications with the server // So we can just do a out() print $status->out(); return; } else { // Load stuff up for the first time - We need the hostname fro this page $netConf = get_network_configuration_ipv4( $user ); error_log("netConf = ". print_r($netConf, true) ); // print_r( $netConf ); // echo "
"; // var_dump( $netConf ); $dns = get_network_dns($user); error_log("dns = ". print_r($dns, true) ); if( $IPv6Enabled ) { error_log("IPv6 is enabled to calling it's functions."); $netConfV6 = get_network_configuration_ipv6( $user ); error_log("netConfV6 = ". print_r($netConfV6, true) ); } } // See if we should auto select one of the selection //error_log( "_GET[selection] =" . $_GET['selection'] ); if( isset($_GET['selection']) ) $forceSel = $_GET['selection']; else $forceSel = -1; ?> Setup Network
Setup - Network
Configure the library's network settings.


Select the desired configuration option:
 
> library's host name and DNS servers
> library's IPv4 network settings.
> library's IPv6 network settings.




Enter the new host name and DNS address's below.
 
dhcpEnabled && $netConfV6->dhcpEnabled ) $disabled = "DISABLED"; else $disabled = ""; ?> dhcpEnabled && $netConfV6->dhcpEnabled ) { ?>
New host name:
 
Primary DNS Address: >  (Optional)
Alternate DNS Address: >  (Optional)

DNS entries cannot be modified when both IPv6 and IPv4 DHCP addresses are enabled.