dns nslookup 하면 오류가 ..
작성자 정보
- Crul 작성
- 작성일
컨텐츠 정보
- 1,428 조회
- 0 추천
- 목록
본문
[root@ns root]# cat /etc/named.conf
// generated by named-bootconf.pl
options {
directory "/var/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;
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};
// zone 화일 수정
[root@ns named]# vi /var/named/domain.com.zone
[root@ns named]# vi /var/named/domain..com..rev
@ IN SOA ns.domain.com. root.ns.domain.com. (
2002062500 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.domain.com.
2 IN PTR ns
3 IN PTR www
4 IN PTR ftp
// 네임서버 재 시동
/etc/rc.d/init.d/named restart
이런후에 nslookup 하고
>domain.com
Server: 192.168.0.2
Address 192.168.0.2
** server can't find net12.skills.com: SERVFAIL
이라고 나오네요 ... 아파치 웹 알깔아도 dns 는 되는거 아닌가요?
관련자료
-
이전
-
다음