Hostname and DNS data
List of Global Functions
Export - Dump the DNS settings to a map, for autoinstallation use.
Import - Get all the DNS configuration from a map. When called by dns_auto (preparing autoinstallation data) the map may be empty.
IsHostLocal - Check if host name or IP address is local computer Used to determine if LDAP server is local (and it should be checked if required schemes are included Calls Read () function before querying any data
Read - Reads current DNS and hostname settings Includes Host,NetworkConfig::Read
Summary - Create DNS text summary
Write - Write new DNS and hostname settings Includes Host,NetworkConfig::Write
List of Global Variables
domain - Domain Name (not including the host part)
hostname - Short Host Name
modified - Data was modified?
resolv_conf_process - Name of program that has claimed resolv.conf
Dump the DNS settings to a map, for autoinstallation use.
Return value
map - autoinstallation settings
Get all the DNS configuration from a map. When called by dns_auto (preparing autoinstallation data) the map may be empty.
Function parameters
map settings
Return value
boolean - true if success
Check if host name or IP address is local computer Used to determine if LDAP server is local (and it should be checked if required schemes are included Calls Read () function before querying any data
Function parameters
string check_host
Return value
boolean - true if host name is local host
Reads current DNS and hostname settings Includes Host,NetworkConfig::Read
Return value
boolean - true if success