linux dns 설정 부분에서 잘못된 부분을 모르겠습니다.
한 리눅스 서버에 DNS 와 apache 서버를 구축해서
같은 네트워크의 다른 컴퓨터에서 DNS 서버를 확인해 보려는데 잘안되네요
어느 부분이 잘봇 됬는지 모르겠습니다.
test.zone 설정파일
$TTL 86400
@ IN SOA ns.test.net. root.test.net (
20080211 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.test.net.
IN A 192.168.0.1
test.net. IN A 192.168.0.1
ns IN A 192.168.0.1
www IN A 192.168.0.1
test.rev 설정 파일
$TTL 86400
@ IN SOA ns.test.net. root.test.net. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.test.net.
59 IN PTR ns
59 IN PTR www
named.conf 설정파일
options{
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
zone "test.net" IN {
type master;
file "test.zone";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "test.rev";
};
controls{
inet * allow{localhost;} keys{rndckey;};
};
include "/etc/rndc.key";
hostname 명령어 결과
ns.test.net
nslookup 명령어 결과
;; connection timed out; no servers could be reached
/etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.1 teste.net test.net
이상태에서 192.168.0.2(윈도우) 의 dns 서버 주소를 192.168.0.1 만 넣어주고
웹브라우저에서 http://www.test.net 혹은 http://test.net 로 입력시 안됩니다.
어느 부분이 잘못됬는지 모르겠네요
조언 부탁드립니다
참조하세요.
가물가물 기억이 안나는 군요.
참조만 올립니다.
http://www.kr.freebsd.org/doc/PoweredByDNS/
wsmrdo 님 답변 감사합니다.
일단 링크참조 해서 좀더 해보도록 하겠습니다. 답변 감사합니다.
댓글 달기