Ubuntu11.10 install Bind9

Source: Internet
Author: User
If you have time to install the DNS service software, install Bind9 in Ubuntu11.10 to learn more... I found that I forgot more than N in the past .... Ubuntu11.10se0000386 platform 1. sudoapt-getinstallbind9ll/etc/bind/display: where you want to add zone2. in named. conf. loacal add something to add.

You have time to install DNS software and Bind 9 on Ubuntu 11.10... I found that I forgot more than N.

Hurry up and make up ....

Ubuntu 11.10 Sever I386 Platform

1. sudo apt-get install bind9

Ll/etc/bind/is shown as follows:

Add the relevant zone IN named. conf. loacal.

2. Let's add something... Take a closer look (myself)

Oh, I have added two domain names and the network segment 192.168.1.0 (based on my own understanding)

Default file path:/var/cache/bind /;

Type master is the master

Therefore, you need to store the zone data file in the/var/cache/bind/directory.

I put it in the/var/cache/bind/conf/directory, so I added conf to the path.

3. Create the db.192.168.1, db.jk409.com, and db.ben.com files in the/var/cache/bind/conf/directory.

If you do not know the content of the file... Simply copy and borrow the db.127 and db. local files in the/etc/bind/directory and modify them. Check out my ----- as follows:

Db.192.168.1 File Content

Db.jk409.com File Content

Db.ben.com File Content

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.