5. Verify the xCAT networks configuration. 

You can run the lsdef  command to list the configuration of a specific xCAT network or networks. The following example lists the management network and application network for InfiniBand port 1: 

## 5.4.6 DNS server 

$ lsdef -t network net-mgmt,net-app-ib Object name: net-mgmt gateway=<xcatmaster> mask=255.255.0.0 mgtifname=enP5p1s0f0 net=10.1.0.0 tftpserver=10.1.0.1 Object name: net-app-ib mask=255.255.0.0 net=10.10.0.0 

You can run the tabdump  command to list the configuration of all xCAT networks: 

$ tabdump networks #netname,net,mask,mgtifname,<...> "net-mgmt","10.1.0.0","255.255.0.0","enP5p1s0f0",<...> "net-svc","10.2.0.0","255.255.0.0","enp1s0f3",<...> "net-app-ib","10.10.0.0","255.255.0.0",,,,,,,,,,,,,,,, 

The xCAT configures the DNS server based on the attributes of the site  table, the /etc/hosts  file, and node definitions. The makedns  command applies the configuration. 

The following attributes of the site  table are used to configure the DNS server: 

dnsinterfaces : Host name (optional) and network interfaces for the DNS server to listen on. 

domain : DNS domain name for the cluster. 

forwarders : DNS servers for resolving non-cluster names, that is, the site’s or external DNS servers. 

master : IP address of the xCAT management node on the management (OS) network, as known by the nodes. 

nameservers : DNS servers that are used by the compute nodes (usually, the IP address of the management node). The value < xcatmaster >  indicates that the management node or service node that is managing a node (automatically defined to the correct IP address in the respective xCAT network) is more portable. 

For more information, see the manual page of the site  table by running the following command: 

$ man 5 site 

Running the makedns  command generates the following configuration files for the DNS server, and reloads it: 

GLYPH<SM590000> /etc/named.conf : Main configuration file (generated by makedns -n ) 

GLYPH<SM590000> /var/named/* : Zone files for network names and addresses (generated by makedns -n ) 

