makedns - sets up domain name services (DNS) from the entries in /etc/hosts.
makedns options
makedns [-h|--help]
makedns configures a DNS server on the local machine from the /etc/hosts file entries. It also uses the following attributes set in the site table as default values: domain, forwarders, nameservers. The domain value can be overridden by the -d option. The netmasks from the networks table will also be used if not overridden by the -n option. Only entries in /etc/hosts that are part of a network listed in the networks table will be added to DNS.
makedns can only handle hostnames from a single domain, normally a private domain just for the cluster. The typical cluster set up is for site.domain to be set to the cluster domain, site.nameservers to be set to the cluster-facing IP address of the management node, and site.forwarders to be set to the IP address of one or more nameservers at your site that can resolve names outside of your cluster. With this set up, all nodes ask the management node to resolve names, and if it is a name that the MN DNS does not know about, it will ask the outside world.
The domain name to use. If not specified, the default used is the domain attribute in the site table.
A file containing more arguments for makedns.
The hostname of a secondary nameserver to use.
Boot file to use.
Write the address records, i.e. the hostname to IP address mappings.
Write the MX records, i.e. the additional aliases for a hostname.
Do wks.
Don't do domains.
Do txt records.
User?
Servers.
mx records.
C patterns?
Elimination patterns?
Host.
Refresh, retry, expire, ttl options, separated by colons.
Force serial.
File to read the host entries from. Default is /etc/hosts.
Comments file.
Default subnet mask.
Network:SubnetMask. If not specified, all the networks from the networks table will be used.