(Optional) Configuring the DNS Server (eLTE Management Scenarios)
The DNS server allocates domain name addresses and IP addresses for hosts. If the eLTE management component is installed on eSight, you must configure the DNS server.
Prerequisites
Network parameters are set correctly.
Procedure
- Log in to the active server and the standby server as root user, perform the following steps.
Log in using graphical tool.
- Start the command-line interface (CLI) and run the following command to check whether the bind component package is installed.
# rpm -qa | grep bind
- If the command output contains bind-xxxxx, bind-utils-xxx and bind-version (for example: bind-9.5.0P2-20.7.1), the bind software has been installed.
- If the command output does not contain bind-xxxxx, bind-utils-xxx or bind-version, the bind software has not been installed. In this case, go to How Do I Install Component Packages and install the bind software.
The version may vary depending on the operating system version.
- In the CLI, run the # yast2 command. The YaST Control Center interface is displayed.
- Choose Network Services > DNS Server. The DNS configuration interface is displayed.
- Use the default settings and click Next.
- Enter the name, set Type to Master, and click Add.
- Click Edit. The Zone Editor interface is displayed.
- Modify the zone information.
- Select NS Records, enter the DNS server name, and select Add.
- Select Records and set the domain name and IP address.
- Enter the domain name under Record Key.
- Set Type to A: IPv4 Domain Name Translation.
- Enter the IP address under Value.
- Click Add.
- Click OK.
Here, set the domain name to acs and IP address to 10.141.53.209.
- In the Zone Editor interface, click Next.
- Select On: Start Now and When Booting and click Finish.
- Select NS Records, enter the DNS server name, and select Add.
- Restart the DNS Server.
- In the CLI, run the # yast2 command. The YaST Control Center interface is displayed.
- Choose Network Services > DNS Server. The DNS configuration interface is displayed.
- Choose Start-Up, Click Stop DNS Server Now.
- Click Start DNS Server Now.
- In the CLI, run the # yast2 command. The YaST Control Center interface is displayed.
- Verify the configuration.
- In the CLI, run the # vi /etc/resolv.conf command to open the resolv.conf file, and add nameserver 10.141.53.209 to the file.
To edit text, type i to switch to insert mode and type words after the cursor. To save the modification and exit the vi editor, press ESC, switch to the CLI mode, and type :wq.
- In the CLI, run the dig acs.example.com command.
The DNS service is configured successfully if information similar to the following is displayed: ;; QUESTION SECTION: ;acs.example.com. IN A ;; ANSWER SECTION: acs.example.com. 172800 IN A 10.141.53.209 ;; AUTHORITY SECTION: example.com. 172800 IN NS acs.example.com.
- In the CLI, run the # vi /etc/resolv.conf command to open the resolv.conf file, and add nameserver 10.141.53.209 to the file.