RHEL5 bind configuration for help

Source: Internet
Author: User
RHEL5 bind configuration help-Linux Enterprise Application-Linux server application information, the following is read details. Environment linux host IP: 192.168.10.1 Host Name: nicke.w.domain.com

Client IP: 192.168.10.2 name: fmis

The configuration of/etc/named. conf is as follows:


Options {

Directory "/var/named ";

Forwarders {192.168.1.2

};

Pid-file "/var/run/named. pid ";

};


Zone "."{

Type hint;

File "named. ca ";

};

Zone "localhost "{

Type master;

File "named. zero ";
};

Zone "0.0.127.in-addr-arpa "{

Type master;

File "named. local ";

};

Zone "Export domain.com "{

Type master;

File "your domain. zone ";

};

Zone "10.168.192.in-addr-arpa "{

Type master;


File "192.168.10.zone ";

};

Check the zone file in/var/named.

The domain. zone file is as follows:

$ TTL 86400
@ In soa nicke.w.domain.com. root.w.domain.com .(
42; serial (d. adams)
3 H; refresh
15 M; retry
1 W; expiry
1D); minimum
@ In ns nicke.w.domain.com.

Nicke in a 192.168.10.1

Fmis in a 192.168.10.2


The 192.168.10.zone file is as follows:


$ TTL 86400
@ In soa nicke.w.domain.com. root.w.domain.com .(
1997022700; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum
In ns nicke.w.domain.com.
1 in ptr nicke.w.domain.com.


Now the named service has been started. Selinux is also disabled.

[Root @ nicke named] # service named status
Number of zones: 6
Debug level: 0
Xfers running: 0
Xfers deferred: 0
Soa queries in progress: 0
Query logging is OFF
Recursive clients: 0/1000
Tcp clients: 0/100
Server is up and running

Selinux status
[Root @ nicke named] # sestatus
SELinux status: enabled
SELinuxfs mount:/selinux
Current mode: permissive
Mode from config file: disabled
Policy version: 21
Policy from config file: targeted

Iptables status
[Root @ nicke named] # service iptables status
Firewall stopped

But now, when I ping nicke.w.domain.com on the client, the message "unknown host nicke.w.doamin.com" is displayed.
Ping on the server is also ping: unknown host nicke.w.doamin.com.

Let's take a look at the problem!
I am a newbie. I hope you will be enlightened. At the same time, I am new to school, please do not laugh at me. Haha!
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.