Detailed DNS configuration process 1. set the host name vietcsysconfignetwork2. configure the DNS master configuration file vivarnamedchrootetcnamed. conf: change row 161722 to the following 3. configure the forward resolution configuration file vivarnamedchrootetcnamed. rfc1912.zones4. configure forward resolution cdvarname
Detailed DNS configuration process
1. Set the host name vi/etc/sysconfig/network2. configure the DNS master configuration file vi/var/nam
Ed/Chroot/etc/named. conf: change lines 16 17 and 22 to the following 3. configure forward resolution configuration file vi/var/named/chroot/etc/named. rfc1912.zones 4. configure forward resolution
Cd/Var/named/chroot/var/named/copy the named. localhost in this file to named.xiaolei.cn to modify the permissions of named.xiaolei.cn.
ChgrpNamed named.wolf.cn: Change named.wolf.cn to named. Otherwise, named.xiaolei.cn may be inaccessible. configure DNS reverse resolution vi/var/named/chroot/var/named/named.192.168.1chgrp named named.192.168.1 and change the group of named.192.168.0 to named. Otherwise, the Service named.192.168.0 may fail to be accessed. restart the DNS Service. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ Configure sendmail service 1. configure sendmail.
McChange 127.0.0.0. To 0.0.0.0vi/etc/mail/sendmail. mc 2. Import sendmail. mc to sendmail. cf to mc sendmail. mc> sendmail. cf.
3. modify DNS4. modify the data vi/etc/mail/local-host-names in local-host-names and add two data mail.xiaolei.cnxiaolei.cn 5. to restart the sendmail Service and POP3 Service sendmail restartService dovecot restart test, you must first create two accounts in Linux to create an email account in the same way as that in Linux.