바뀜

둘러보기로 가기 검색하러 가기
254 바이트 추가됨 ,  2017년 5월 8일 (월) 19:01
options {
directory "/var/cache/bind";
// 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 and later use an unprivileged // port by default.
// query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder.
// If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. forwarders { 168.126.63.1; }; auth-nxdomain no; # conform to RFC1035
auth-nxdomain no; # conform to RFC1035
};
 
=== /etc/bind/named.conf.local ===
// abc.com, my.com 모두 named.zone에 지정된 /var/cache/bind 설정에 따릅니다.
//
zone "abc.com" {
type master; file "ourzone.zone";
};
zone "my.com" {
type master; file "ourzone.zone";
};
 
=== ourzone.zone 파일 ===
$TTL 604800
@ IN SOA @ root. (
1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL
;
IN A 192.168.1.1 IN NS ns IN MX 10 mail
;base
ns IN A 192.168.1.1
ftp IN A 192.168.1.3
www IN CNAME @
 
== bind9 시작/재시작/종료 ==

둘러보기 메뉴