# 指定域名解析文件的存放目录为 "/etc/named"。
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
[code:1]
;
; file: yourdomain.com
;
; It's ONLY for reference. ------------- gugong
;
;
;$INCLUDE <FileName> <opt_domain>
$ORIGIN yourdomaon.com.
$TTL 144000
@ IN SOA yourdomaon.com. hostmaster.yourdomaon.com. (
2002010828 ; Serial
3H ; Refresh
2H ; Retry
4W ; Expire
3D ) ; Minimum
IN NS ns1.yourdomaon.com.
IN NS ns2.yourdomaon.com.
IN MX 10 mail.yourdomaon.com.
TXT "Your Corporation"
yourdomaon.com. IN A 1.2.3.4
IN MX 10 mail.yourdomaon.com.
www.yourdomaon.com. IN A 1.2.3.5
IN MX 10 mail.yourdomaon.com.
ns1.yourdomaon.com. IN A 1.2.3.6
IN MX 10 mail.yourdomain.com.
ns2.fruitron.com.cn. IN A 1.2.3.7
IN MX 10 mail.yourdomaon.com.
mail.yourdomaon.com. IN A 1.2.3.4
IN MX 10 mail.yourdomaon.com.
;
;
;pop IN CNAME mail.yourdomaon.com.
;pop3 IN CNAME mail.yourdomaon.com.
;imap IN CNAME mail.yourdomaon.com.
;
; ================ END ================
# 指定域名解析文件的存放目录为 "/etc/named"。
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;