![]() |
![]() |
|
|||
|
tôi đang học linux centos. thầy day phần cấu hình webmin bằng giao diện. cách tạo tên miền xuôi, ngược nhưng tôi không hiểu rõ mong chỉ rùm.
vd: miền xuôi: từ tên miền:yahoo.com.vn miền ngược: từ địa chỉ IP: 192.168.1.16 |
|
|||
|
Tên miền xuôi tức là bạn truy vấn domain của bạn
ping your_domain.com thì nó ra địa chỉ IP còn tên miền ngược tức là revert IP thì nó ra ngược lại domain. Tên miền ngược thông thường được sử dụng để revert DNS (trong gửi mail) - người ta gọi là bản ghi PTR (PTR Record) - và phải do bên server cấu hình. Cách cấu hình thì tớ toàn gửi cho bên mình đặt server (ví dụ cho bên VDC) thì họ sẽ setup cho mình ![]() ![]() |
|
||||
|
Đó là phần quản lý DNS của webmin mà bạn.
Cấu hình DNS thì đơn giản thôi, có các record cơ bản sau: A record, txt record, MX record,.... bạn có thể xem thêm cách cấu hình tại chính site của webmin đây Setting up DNS using Webmin - Dev Shed HTML Code:
Setting up DNS using Webmin
Here's a quick walkthrough for using Webmin to setup DNS.
(Depending on your Distro, you may need to change the Module Configuration, which you can find at the top left of the window entitled "Module Config"... Right under the "Webmin" icon.)
Log into Webmin, and update it (if it needs it).
Go to Servers, and then click on "BIND DNS Server"
Creating a Master Zone.
1) Click on "Create master zone"
2) Enter the domain into the "Domain name / network" box.
3) For the master server, type in the domain name as well.
4) You can check the "Create NS record" box if you'd like.
5) You can enter your email address in the appropriate box.
6) Type in the IP address of the server (The external IP address provided by your ISP).
7) Click "Create"
You will then be redirected to the zone page for that domain you just created. (If you weren't, click on the zone for that domain).
Creating A records (Address Records).
1) Click on "Address"
2) Leave the name field blank, and type in the IP address.
3) Click Save.
(The following is dependent on what you want to run the server for.)
4) Type in www for the name, and type in the IP address.
5) Click Save.
6) Type in mail for the name, and type in the IP address.
7) Click Save.
8) Type in ftp for the name, and type in the IP address.
9) Click Save.
10) Type in ns1 for the name, and type in the IP address.
11) Click Save.
12) Type in ns2 for the name, and type in the IP address.
13) Click Save.
14) At the bottom, click "Return to Record Types"
Creating NS records (Name Servers).
1) Click on Name Server
2) For the zone name, type in the domain name (Put a . at the end; for example:
domain.com.
(notice the ending period.. DO Not Forget that)
3) For the name server, type in ns1.domain.com.
(Also notice the period)
4) Click Save.
5) Type in ns2.domain.com.
6) Click Save.
7) Click "Return to Record Types"
Creating an MX Record (Mail Exchange Record).
1) Click Mail Server (If you want a mail server)
[b](Make sure you put the period at the end; mail.domain.com.[/b]
2) For the name, type in the domain
3) For the mail server, type in mail.domain.com
4) Set the priority to what you like.. 10 is usually default. This is more of a concern if you are hosting a lot of domains.
5) Click "Return to Record Types"
Last edited by get2you; 14-08-2008 at 08:46 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|