Configure Dns_unix Linux in RD9

Source: Internet
Author: User

I am familiar with the Windows2000 network configuration, for Linux under the DNS can be said to be Greek. Now you want to learn how DNS is configured. After some trouble, finally found a simple method of configuration.
Now I'll write out the configuration process for my colleagues to refer to
The first thing to say is that some of the concepts under Linux are not quite the same as windows. Maybe we all feel it.
Many experts are good at directly modify the configuration file (/etc/named.conf and/var/namde/under the *.zone file) to implement configuration, I think this is the most suitable for people familiar with UNIX, but for me to change from the windows of the rookie, naturally to painstaking effort. Despair, finally succeeded. Here I use the bind configuration under RH9 as an example to describe the process I configured:
1. Suppose you want to configure the domain as syd.com
2. The hosts you want to resolve include:
ftp.syd.com----10.8.22.18 (FTP server)
www.syd.com---10.8.13.15 (www server)
mail.syd.com----10.8.22.18 (mail server)
......
The specific configuration process is as follows:
1. In the terminal input Redhat-config-bind
4. Click New, select Forward primary zone in the newly emerged zone type window, and enter syd.com
5. In the pop-up "name to IP ..." window, first select "Edit", in the new window appears, select "Add", in the new window of the server, enter "DNS" and return
6. Enter "dns.syd.com." in the SOA. Notice that there's a "dot" at the end.
7. Do not close the window, select the "Add" below, select "Host" in the new window, and enter the "DNS" in the host name, enter the IP address of the DNS server, and close the window
8. Repeat 7, add the record of the Www,ftp,mail host separately, the same way as just now, note that the IP address is not the same
9. Select mail.syd.com, click "Modify", add mail exchanger, host name is mail, priority is 1, close window, once again close window, return to bind main window
10. Click Save under Files to save the settings
11. Enter "Named-u named" on the command line to restart DNS and load parameters
12. In the command line input "ping www.syd.com", hehe, probably no problem

OK, I'm configuring more service features ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.