AIX DNS Server Configuration

Source: Internet
Author: User
Tags bind domain name server

Experimental environment:

Aix:os version: AIX 5L for power V5.1

IP address:192.168.0.5

Assume Domain name: king.com

Host Name: pp.king.com

As a domain name server, the ability to have positive and reverse solutions is called a complete server. Now there are many, especially win's DNS server many do not have the ability to reverse the solution.

Let's get to the point.

Set up a complete DNS server mainly requires 6 files:

named.conf #主要的设定文件

named.ca #

Positive solution files on the local side

Anti-Solution files on the local side

Positive solution file for domain name

Anti-solution file for domain name

After an AIX V5.1 installation completes, the DNS software bind has been installed and has been started.

You can use this command to view:

# lssrc-s named

subsystem Group PID Status

Named Tcpip 15666 Active

The default will be installed two versions, Bind4 and Bind8, of course, now the latest version has bind9, but we use their own bind8 can be.

The system defaults to using Bind4 at the beginning, so we now execute the following command to start using Bind8:

# Rm/usr/sbin/named/usr/sbin/named-xfer

Ln-s/usr/sbin/named8/usr/sbin/named

Ln-s/usr/sbin/named8-xfer/usr/sbin/named-xfer

Check:

# named-v

Named 8.2.2-p5+fix_for_cert_till_01_30_01 Sun APR 8 08:05:23 CDT 2001

build@builder07.austin.ibm.com:/.../austin.ibm.com/fs/proj/p1/aix/aix510

/com4/cmvc/obj/power/tcpip/usr/sbin/named8

Now we're going to write the configuration file. (The configuration method is the same as the Solaris configuration method)

1, the first is the most important settings file, other documents are defined by it, in order to take effect.

/etc/named.conf (Bind4 's time this file is named: named.boot)

You can use the touch/etc/named.conf command to generate files and then add content

Options {

Directory "/ETC"; #设定工作目录, bind finds the desired file in the directory set here.

};

Zone "." {

Type hint;

File "named.ca"; #根服务器

};

Zone "0.0.127.in-addr.arpa" {

Type master;

File "0.0.127.in-addr.arpa.zone"; #本机端的反解文件, the file name can be defined by itself.

};

Zone "localhost" {

Type master;

File "Localhost.zone"; #本机端的正解文件

};

Zone "King.com" {

Type master;

File "King.com.zone"; The positive solution file #domain name

};

Zone "0.168.192.in-addr.arpa" {

Type master;

File "0.168.192.in-addr.arpa.zone"; Anti-solution file for #domain name

};

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.