Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Network Communication


    

Blue Forest http://www.lslnet.com at 12:08 on July 28, 2006


CENTOS SENDMAIL not in the analysis of DNS

CENTOS 4 in the company were recently asked to be on SENDMAIL server (DNS SENDMAIL and LAN installed in the machine 192.168.1.29 above)
However, in the mail make a DNS domain name when I did not analytic
My DNS is installed (Covert reference to the practice as soon LIUNX fourth year. . . ) :
(1) I installed next BIND9.2.3 codecs, creating links with LN
[ROOT@MAIL BIND-9.2.3]#ln s /usr/local/bind/sbin/rndc /usr/sbin/rndc
[ROOT@MAIL BIND-9.2.3]#ln s /usr/local/bind/sbin/named /usr/sbin/named
[ROOT@MAIL BIND-9.2.3]#

(2) and then create a list of months /usr/local/bind/etc rndc-confgen used to generate the configuration file /usr/local/bind/etc/rndc.conf rndc

[ROOT@MAIL BIND-9.2.3]#mkdir /usr/local/bind/etc
[ROOT@MAIL BIND-9.2.3]#/usr/local/bind/sbin/rndc-confgen "/usr/local/bind/etc/rndc.conf
[ROOT@MAIL BIND-9.2.3]#

(3) documents and will then create /usr/local/bind/sbin/rndc.key rndc.conf the Notes were COPY到 rndc.key


Reads as follows :
Uer with the following in named.conf, adjusting the allow list as needed :
Key "rndc-key" --
Algorithm hmac-md5;
Secret "07nWpUNzgCJl9htw1W9Qow==";
};
Controls --
Inet 127.0.0.1 port 953
Allow {127.0.0.1;} keys ( "rndc-key" ;};
};


(4)
Use vi to create /etc/named.conf document, which reads as follows :

Options --
Directory "/var/named";
};
Include "/usr/local/bind/etc/rndc.key";

Zone. " "IN{
Type hint;
File "named.ca";
};

Zone "0.0.127.in-addr.arpa" IN --
Type master;
File "named.local";
Allow-update {none;};
};

Zone "yzw.haonianhua.com" IN --
Type master;
File "named.yzw.haonianhua.com";
Allow-update {none;};
};

Zone "1.168.192.in-addr.arpa" IN --
Type master;
File "named.1.168.192";
Allow-update {none;};
};



(5) new catalog /var/named again (a book that will be building, but the one on my existence, because I do not know whether it was fully installed. . . ), To dig /var/named/named.ca order to create documents
[ROOT@MAIL BIND-9.2.3]#diga.root-servers.net. Ns "/var/named/named.ca
[ROOT@MAIL BIND-9.2.3]#

(6) use vi to create order /var/named/named.local document, which reads as follows :
$TTL Anticipate
@ IN SOA localhost. Root.localhost. (
2006030801; Serial
28800; Refresh
14400; Retry
3600000; Expire
86,400); Minimum
IN NS localhost.
1 IN PTR localhost.


(7) re-establishing /var/named/named.yzw.haonianhua.com document, which reads as follows :
$TTL Anticipate
$ORIGIN Yzw.haonianhua.com.
@ IN SOA yzw.haonianhua.com. Root.mail.yzw.haonianhua.com. (
2006030801; Serial
28800; Refresh
14400; Retry
3600000; Expire
86,400); Minimum
IN NS nameservers.yzw.haonianhua.com.
IN MX 0 mail.yzw.haonianhua.com.
Localhost. IN A 127.0.0.1
Nameserver IN A 192.168.1.29
Mail IN A 192.168.1.29



(8) establish /var/named/named.1.168.192 document, which reads as follows :
$TTL Anticipate
@ IN SOA yzw.haonianhua.com. Root.mail.yzw.haonianhua.com. (
2006030801; Serial
28800; Refresh
14400; Retry
3600000; Expire
86,400); Minimum
IN NS nameservers.yzw.haonianhua.com.

29 IN PTR nameserver.yzw.haonianhua.com
29 IN PTR mail.yzw.haonianhua.com


(9) months /usr/local/bind/var/run then create a list of documents stored in the process named

[ROOT@MAIL BIND-9.2.3]#mkdir-p /usr/local/bind/var/run

Then I used to open DNS service named start


The problem is, however, I have no problem in the plane transceiver mail
Analysis on the LAN transceiver mail me the names of yzw.haonianhua.com
I have installed into the client's DNS server 192.168.1.29
Can you ah out where the problems in the end
Or in the above solution can be found
LAN is still in experimental and did not know what changes the definition of WAN there, hoping you can help me
Thank you, and Latin America is a wide variation

DNS version of this issue if you want to see Behold
In addition to a link
Www.dnsreport.com

I believe you are bound to be heavy Scarlet Letter



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com