Host A records for deploying DNS servers

Source: Internet
Author: User

First, the environment required for the deployment of the experiment:

1.

650) this.width=650; "title=" 1.PNG "alt=" wkiom1uh9u6aopqhaadfp9clpuu115.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 5b/69/wkiom1uh9u6aopqhaadfp9clpuu115.jpg "/>

2. Use Ipconfig to check that the IP addresses of the three servers are properly configured and ping checks to communicate with each other properly

Server01

650) this.width=650; "title=" 2.png "alt=" wkiol1uh-guzj26daaidzgjags4192.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 5b/63/wkiol1uh-guzj26daaidzgjags4192.jpg "/>

650) this.width=650; "title=" 3.png "alt=" wkiom1uh92ibl0k-aaj-pofwuf4692.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 5b/69/wkiom1uh92ibl0k-aaj-pofwuf4692.jpg "/>

Server02

650) this.width=650; "title=" 4.png "alt=" wkiom1uh9-ftqtulaaidqrecaew744.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 5b/69/wkiom1uh9-ftqtulaaidqrecaew744.jpg "/>

650) this.width=650; "title=" 5.png "alt=" wkiom1uh9_zwxegzaakap-eqd5c466.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 5b/69/wkiom1uh9_zwxegzaakap-eqd5c466.jpg "/>

Server03

650) this.width=650; "title=" 1.png "alt=" wkiom1uh-fqtbx8xaaidewduiji848.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 5b/69/wkiom1uh-fqtbx8xaaidewduiji848.jpg "/>

650) this.width=650; "title=" 2.png "alt=" wkiol1uh-zey6a__aakbhl9wqho727.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 5b/63/wkiol1uh-zey6a__aakbhl9wqho727.jpg "/>

Create a host A Record:

Open Server Manager and open the DNS in the upper-right corner of tools :

650) this.width=650; "Width=" 767 "height=" 533 "title=" 3.png "style=" width:671px;height:451px; "alt=" Wkiom1uh-cqroxi5aahu7rcuzv8884.jpg "src=" Http://s3.51cto.com/wyfs02/M02/5B/69/wKiom1UH-cqROXI5AAHU7RcuZV8884.jpg "/>

Click " Forward lookup zone " (Forward lookup zone : the domain name resolves to IP ), and then right-click : New Zone

650) this.width=650; "title=" 4.png "alt=" wkiom1uh-fodge60aahto4v3ulc491.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 5b/69/wkiom1uh-fodge60aahto4v3ulc491.jpg "/>

Here the system pops up a window for us to create a new Zone wizard, and we'll just click on the next step:

650) this.width=650; "title=" 5.png "alt=" wkiom1uh-iehsjpxaahyivzq_ea188.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 5b/69/wkiom1uh-iehsjpxaahyivzq_ea188.jpg "/>

The system lets us choose the new area type, which is divided into three regions

1. Primary zone: Contains all content within the zone and has read and write access to the content within the zone.

2. Secondary zone: The data in this area is replicated in the primary zone, but it has no modify permission on the content only Read permission.

3. Stub zone: Data in this zone is replicated in the primary zone, but only NS, SOA- level adhesion A record.

Here we choose to create a new primary area and then click Next:


650) this.width=650; "title=" 6.png "alt=" wkiol1uh-83d6mfhaahyivzq_ea503.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 5b/63/wkiol1uh-83d6mfhaahyivzq_ea503.jpg "/>

here, let's enter a region name, for example, the URL to be created when I'm ready to work www.wyz.com , so here we enter wyz.com , and then click Next:


650) this.width=650; "title=" 1.png "alt=" wkiol1uh_bexxi7vaaf2eeavkcm256.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 5b/63/wkiol1uh_bexxi7vaaf2eeavkcm256.jpg "/>

Here the system automatically creates a file name for the zone file for us, we can click on the next step directly:


650) this.width=650; "title=" 2.png "alt=" wkiom1uh-wusenxfaahalzzmmsk847.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 5b/69/wkiom1uh-wusenxfaahalzzmmsk847.jpg "/>

here the system asks if we allow dynamic updates (the so-called dynamic update means: When the client's IP when the address or host name is changed, DNS The server automatically updates the record. ), here we tick allow non-secure and secure dynamic updates , and then click Next:


650) this.width=650; "title=" 1.png "src=" Http://s3.51cto.com/wyfs02/M01/5B/6B/wKiom1UIKF7CZKaZAAI4SIxBHmQ249.jpg " alt= "Wkiom1uikf7czkazaai4sixbhmq249.jpg"/>

Completing the New Zone Wizard, we click Finish:

650) this.width=650; "title=" 2.png "src=" Http://s3.51cto.com/wyfs02/M01/5B/66/wKioL1UIKaChAjrcAAJiPZgfqpw444.jpg " alt= "Wkiol1uikachajrcaajipzgfqpw444.jpg"/>

A forward lookup zone creation is complete:


650) this.width=650; "Width=" 769 "height=" 534 "title=" 3.png "style=" WIDTH:704PX;HEIGHT:489PX; "src="/HTTP/ S3.51cto.com/wyfs02/m00/5b/66/wkiol1uike6gwhynaag4lz3yr-e402.jpg "alt=" Wkiol1uike6gwhynaag4lz3yr-e402.jpg "/>

below we use DNS to achieve :

Airspace name resolution, pan domain name resolution, add delete a record

(1) Add a record: Under Name server, right-click to select New A record:


650) this.width=650; "title=" 1.png "src=" Http://s3.51cto.com/wyfs02/M00/5B/66/wKioL1UIKquw03y5AADeiEp7-Ac749.jpg " alt= "Wkiol1uikquw03y5aadeiep7-ac749.jpg"/>

in the Name field, enter: www , in IP Address bar Input: 192.168.1.100

650) this.width=650; "title=" 2.png "src=" Http://s3.51cto.com/wyfs02/M02/5B/66/wKioL1UIKsvgL2maAAD1i29PIIg469.jpg " alt= "Wkiol1uiksvgl2maaad1i29piig469.jpg"/>

Click Finish to see the following interface, a A The record was added successfully:

650) this.width=650; "Width=" 769 "height=" 532 "title=" 3.png "style=" width:680px;height:470px; "src="/HTTP/ S3.51cto.com/wyfs02/m00/5b/6b/wkiom1uikcgqctd3aahje1mr4tk696.jpg "alt=" Wkiom1uikcgqctd3aahje1mr4tk696.jpg "/>

(2) empty Domain Name resolution: Right-click in the blank area A Records:

650) this.width=650; "title=" 4.png "src=" Http://s3.51cto.com/wyfs02/M02/5B/66/wKioL1UIKxWDcVapAADeiEp7-Ac573.jpg " alt= "Wkiol1uikxwdcvapaadeiep7-ac573.jpg"/>

because we are going to create an empty domain name resolution, so in the name bar do not enter anything, in IP Address bar Input 192.168.1.100

650) this.width=650; "title=" 5.png "src=" Http://s3.51cto.com/wyfs02/M02/5B/6B/wKiom1UIKg7QcF_MAADuGVXkywE752.jpg " alt= "Wkiom1uikg7qcf_maadugvxkywe752.jpg"/>

See the following interface to prove that an empty domain name resolution was created:

650) this.width=650; "width=" 770 "height=" 534 "title=" 6.png "style=" width:717px;height:492px; "src="/HTTP/ S3.51cto.com/wyfs02/m00/5b/6b/wkiom1uikinrety7aah73emaovc691.jpg "alt=" Wkiom1uikinrety7aah73emaovc691.jpg "/>

(3) pan Domain name resolution: The so-called pan domain name resolution is no matter what you enter in the main header value location, as long as you enter in the back is wyz.com can explain to you Www.wyz.om , configure the following methods:

Right-click on a blank area and tap new A Records:


650) this.width=650; "title=" 1.png "src=" Http://s3.51cto.com/wyfs02/M01/5B/6C/wKiom1UIKoWxCYEwAADeiEp7-Ac685.jpg " alt= "Wkiom1uikowxcyewaadeiep7-ac685.jpg"/>

in the Name field, enter * , representing all content, in IP Address bar Input 192.168.1.100

650) this.width=650; "title=" 2.png "src=" Http://s3.51cto.com/wyfs02/M02/5B/6C/wKiom1UIKqaQgr3MAADuBOmroos281.jpg " alt= "Wkiom1uikqaqgr3maadubomroos281.jpg"/>

See the following interface, a pan-domain name resolution has been successfully made:


650) this.width=650; "width=" 766 "height=" 534 "title=" 1.png "style=" WIDTH:675PX;HEIGHT:454PX; "src="/HTTP/ S3.51cto.com/wyfs02/m02/5b/66/wkiol1uillhbe-7zaailok3rwmc376.jpg "alt=" Wkiol1uillhbe-7zaailok3rwmc376.jpg "/>

2, the use of DNS to achieve simple load balancing:


When the number of visits to the website is large, load balancing is considered, which is the basic skill of each architect, and its fundamental position

It is the equivalent of crosstalk in the said learn to sing, live good not to see this.

Traditional load balancing is a single point of thinking, whether you are hardware or software is the basic principle of this

650) this.width=650; "title=" 1082121_ow14656_1.jpg "src=" http://s3.51cto.com/wyfs02/M00/5B/6C/ Wkiom1uilz-rvucuaaept6vxdew797.jpg "alt=" Wkiom1uilz-rvucuaaept6vxdew797.jpg "/>

But because some enterprises are small, inconvenient to come up with a large amount of money to buy load balancer so only through DNS to achieve a simple load balancing , as shown



650) this.width=650; "title=" 182735.gif "src=" http://s3.51cto.com/wyfs02/M01/5B/66/ Wkiol1uimiws6zgvaaasrbtng7y470.gif "alt=" Wkiol1uimiws6zgvaaasrbtng7y470.gif "/>

Use DNS Simple load balancing for multiple additions A Records, A the records point to different IP address, as shown:

650) this.width=650; "Width=" 769 "height=" 533 "title=" 1.png "style=" width:592px;height:431px; "src="/HTTP/ S3.51cto.com/wyfs02/m02/5b/66/wkiol1uipe7c3qrwaaizhwoxp44559.jpg "alt=" Wkiol1uipe7c3qrwaaizhwoxp44559.jpg "/>

Test DNS Server

point DNS for server03 to Server01


650) this.width=650; "Width=" 744 "height=" 619 "title=" 2.png "style=" WIDTH:634PX;HEIGHT:554PX; "src="/HTTP/ S3.51cto.com/wyfs02/m00/5b/66/wkiol1uipndrvriiaartvenurok577.jpg "alt=" Wkiol1uipndrvriiaartvenurok577.jpg "/>

1. with Ping commands are tested separately: airspace name, pan domain name, and www:


650) this.width=650; "title=" 5.png "src=" Http://s3.51cto.com/wyfs02/M00/5B/66/wKioL1UIP0HDw4QkAAN56j2I3qE924.jpg " alt= "Wkiol1uip0hdw4qkaan56j2i3qe924.jpg"/>

2. Use nslookup command to test simple load balancing :


650) this.width=650; "title=" 3.png "src=" Http://s3.51cto.com/wyfs02/M01/5B/66/wKioL1UIQJqCMJhKAAE8qBMnG7I185.jpg " alt= "Wkiol1uiqjqcmjhkaae8qbmng7i185.jpg"/>

as we can see from the above test, DNS A forward lookup zone can resolve a domain name correctly to IP address and achieve simple load balancing, so our experiment was successful.








This article is from the "Technology Meng Meng" blog, please be sure to keep this source http://wuyvzhang.blog.51cto.com/9992636/1621628

Host A records for deploying DNS servers

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.