DNS configuration instance

Source: Internet
Author: User

DNS configuration instance
Case:

Server IP Address: 192.168.127.200

Www.abc.com 192.168.127.111 requires that the alias www1.abc.com be used for access.

Tec.abc.com 192.168.127.222



WKioL1OaxeGzOUyeAAHkQne6JHk825.jpg

WKiom1Oaxg_zv1PCAAHcbCJuhYY228.jpg

WKioL1OaxeGCIapeAAHQgoOb4Ow404.jpg

WKiom1Oaxg-CpqNLAAGTESUWOQ8801.jpg

WKioL1OaxeLDssRyAAHyq5qMO9s402.jpg

WKiom1Oaxg_DpCWRAAA8XKhr93U404.jpg

WKiom1Oaxg-img-uAADJuwbZhc0761.jpg

In Vim/etc/named. rfc1912.zone, you need to add lines 19-23 and lines 31-35 as well as the content to be modified:

Zone "abc.com" IN {

Type master;

File "abc.com. zone ";

Allow-update {none ;}

}



Zone "127.168.192.in-addr. arpa" IN {

Type master;

File "abc.com. local ";

Allow-update {none ;}

}



Vim abc.com. zone:

WKioL1OayeyR2cpVAADN82PnbGo898.jpg



Vim abc.com. local:

WKioL1OaxeKhSUOuAACzz-gtGXM390.jpg

Test in virtual machine:

WKiom1OaynqSVefzAAEpPTk26_0813.jpg

WKioL1Oaylnzd6BGAADCcTncXS0694.jpg

Test on a physical machine:

WKioL1OayjWTsMgDAAD7q83TJ6s611.jpg



WKioL1Oaw1jCamCtAAEQoD0xkLc602.jpg

Related Article

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.