Use ROS to do intranet DNS server

Source: Internet
Author: User
Tags mx record

Reprint: http://iliuyong.iteye.com/blog/1035692 use ROS to do intranet DNS server
Method:
1.ROS settings
IP-"DNS Select" Static "tab
Click "+", name casually, address fill your router intranet Ip,ttl default. "OK"
There should already be a DNS server name you just established,
and click "Settings", respectively, fill in the primary and secondary DNS address, select "Allow Remote Requeste"
Finally click "OK"
Client settings
Your DNS this into the address above
2. Internal domain name resolution, that is, the intranet server can be accessed through the domain name
Add a message to the DNS of ROS:
Dns-static Add a piece
Name= internal domain name, such as myweb.cn;
address=192.168.0.6
After L enter myweb.cn in the browser, it will go to http://myweb.cn time to access the ttp://192.168.0.6

3.ros command clears the DNS cache

/IP DNS Cache flush
Clear local DNS cache in 4.windows
Ipconfig/flushdns
Basic knowledge:
What is domain name resolution?
Domain name resolution is the process of converting a domain name to an IP address. IP address is the digital address that identifies your site on the network, in order to be easy to remember, the domain name is used instead of the IP address to identify the site address. The resolution of the domain name is done by the DNS server.
What is a record?
A (address) record is the IP address record used to specify the hostname (or domain name). Users can point the Web server under the domain name to their own Web server. You can also set the two-level domain name of your domain.
What is an MX record?
Message routing records, the user can point the mail server under the domain name to their own mail server, and then can control all mailbox settings on their own. Just fill in your server's IP address online, you can transfer all the mail under your domain name to the corresponding mail server.
What is a CNAME record?
That is, the alias record. This record allows you to map multiple names to the same computer. Typically used for computers that provide both WWW and mail services. For example, there is a computer named "Host.mydomain.com" (a record). It also provides the WWW and mail services, in order to facilitate user access to services. You can set two aliases (CNAME) for this computer: www and mail. The names of the two aliases are www.mydomain.com and "mail.mydomain.com". In fact they all point to "host.mydomain.com".
What is a TTL value? "I suggest you focus on it."
The full TTL value is "Time to live", which simply means that DNS records are cached on the DNS server for a time. To understand the TTL value, take a look at one of the following examples:
Suppose that there is such a domain name myhost.abc.com (in fact, this is a DNS record, usually indicates that there is a host named Myhost in the abc.com domain) corresponding IP address is 1.1.1.1, its TTL is 10 minutes. This domain name or this record is stored on a DNS server named dns.abc.com.
Now one user types the address (aka URL) in the browser: http://myhost.abc.com what happens then?
The designated DNS server for the visitor (or his ISP, Internet service provider, dynamically assigned to him) 8.8.8.8 will try to explain to him myhost.abc.com, of course 8.8.8.8 this DNS server because it does not contain myhost.abc.com this information, and therefore cannot be resolved immediately, but through the global DNS recursive query, the final location to dns.abc.com this DNS server , dns.abc.com This DNS server will myhost.abc.com the corresponding IP address 1.1.1.1 tell 8.8.8.8 this DNS server, and then by 8.8.8.8 tell the user results. 8.8.8.8 in order to speed up the resolution of myhost.abc.com this record, will just the 1.1.1.1 results for a period of time, this is the TTL time, in this period of time if the user has to myhost.abc.com this record resolution request, it directly tells the user 1.1.1.1, when T The TL expires and then repeats the above process.

Use ROS to do intranet DNS server

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.