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