ubuntu bind9

named-checkconf #檢查 named 設定錯誤指令

舉例: helo.com.tw
vi /etc/bind/named.conf.options
加入
allow-query { any; };
listen-on {
10.0.0.0/24;
};

vi named.conf.local
zone "helo.com.tw" {
type master;
file "/etc/bind/db.helo.com.tw";
allow-transfer { ip-adress; };
also-notify { ip-address; };
};

cp /etc/named/db.loal /etc/named/db.hello.com.tw
去裡面修改
@ IN MX hello.com.tw
@ IN TXT "spf"

spf 產生器 : https://dmarcly.com/tools/spf-record-generator
PS : IPV4 修改 vi /etc/default/named 原設定多加 -4 options="-4 -u bind"
DKIM 產生器 : https://dmarcly.com/tools/dkim-record-generator

本篇發表於 未分類。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>