首页 > 其他分享 >DNS postfix and dovecot configuration

DNS postfix and dovecot configuration

时间:2023-01-09 22:58:24浏览次数:36  
标签:named postfix config etc conf dovecot paul configuration com

Kali Linux

----***DNS:

1. install bind9

apt-get install bind9

2. check config if cannot start named

named-checkconf -- check main config file

named-checkzone -- check data config file setting. 

3. config file in /etc/bind 

named.conf

named.conf.local

named.conf.options

zones.rfc1918

 4. networking

/etc/networking/interfaces

 /etc/init.d/networking restart

/etc/resovl.conf

@ IN SOA paul.com. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS dns.X.com.
@ IN MX 3 mail.X.com.
dns IN A 192.168.199.X
mail IN A 192.168.199.X

 

----***postfix email testing:

telnet XXXX 25

helo mail.paul.com

email from:[email protected]

rept to:[email protected]

data

XXXX

.

 

标签:named,postfix,config,etc,conf,dovecot,paul,configuration,com
From: https://www.cnblogs.com/cypaul/p/17038750.html

相关文章