赞
踩
Ubuntu 16.04.6 LTS
IP : 192.168.0.102
sudo apt install bind9
// // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; //domain->ip zone "flovem.home" in { type master; file "/var/cache/bind/db.flovem.home"; }; //ip->domain zone "0.168.192.in-addr.arpa" in { type master; file "/var/cache/bind/reverse/db.0.168.192"; };
$TTL 604800
@ IN SOA flovem.home. root.flovem.home. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604000) ; Negative Cache TTL
;
; name servers
@ IN NS ns.flovem.home.
@ IN A 192.168.0.102
;ns records
ns IN A 192.168.0.102
;host records
hangzhou IN A 192.168.0.102
$TTL 604800
@ IN SOA flovem.home. root.flovem.home. (
2 ; Serial Number
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ); ; Minimum
@ IN NS flovem.home.
66 IN PTR hangzhou.flovem.home.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。