현재 사용중인 named.conf
options {
dnssec-enable no;
dnssec-validation no;
dnssec-lookaside . trust-anchor dlv.isc.org.;
directory "/var/named";
version "Unknown";
allow-transfer{
192.168.1.192;
};
allow-query{
localhost;
//000.000.000.000/28;
192.168.1.0/24;
};
allow-recursion{
//000.000.000.000/28;
192.168.1.0/24;
};
};
logging {
channel default_debug {
file "namedlog";
severity dynamic;
};
};
zone "." {
type hint;
file "named.root";
};
// localhost
//
zone "localhost" {
type master;
file "localhost";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.rev";
};
// primary
//
zone "mydomain.com" {
type master;
allow-query { any; };
allow-update { 192.168.1.192; };
file "mydomain.com";
};
zone "141.1x0.xx.xx.in-addr.arpa" {
type master;
allow-query { any; };
file "mydomain.com.rev";
};
댓글 없음:
댓글 쓰기