bind 9 域名解析到同一个ip
named.conf:
zone "." {
type master;
file "named.root";
};
named.root:
$TTL 3D
@ IN SOA . ns1.dns.cn. (
3 ; serial number
3600 ; refresh [1h]
600 ; retry [10m]
86400 ; expire [1d]
3600 ) ; min TTL [1h]
. 86400 IN NS ns1.dns.cn.
* 86400 IN A IP
为何不用 dnsmasq, 更轻量.
address=/#/1.2.3.4
阅读(2509) | 评论(0) | 转发(0) |