=head1 NAME B - sets up domain name services (DNS). =head1 SYNOPSIS B [I<-h>|I<--help>] B [I<-n>|I<--new>] [I] B [I<-d>|I<--delete> I] =head1 DESCRIPTION B configures a DNS server on the local machine from the /etc/hosts file entries if no I specified. It also uses the following attributes set in the B table as default values: B, B, B. The B and B attributes in the B table will also be used. Only entries in /etc/hosts or the hosts specified by I that are part of a network listed in the B table will be added to DNS. B 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. By default, B sets up named service and updates the DNS records on the mamagement node, but if -e flag is specified, it also has the flexibility to update the DNS records to an external DNS server which is listed in the /etc/resolv.conf on the management node if this external DNS server can recognize xcat key as authentication. For more information on Cluster Name Resolution: https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Cluster_Name_Resolution =head1 OPTIONS =over 6 =item B<-n>|B<--new> Use this flag to create new named configuration and db files. =item B<-d>|B<--delete> I Remove the DNS records for the hosts specified by I. =back =head1 Examples =over 6 =item 1 To set up DNS for all the hosts in /etc/hosts file. B =item 2 To set up DNS for I. B I =item 3 To create a new named configuration and db files for all hosts in /etc/hosts. B B<-n> =item 4 To delete the DNS records for I. B B<-d> I =back =head1 SEE ALSO L