nslookup 하여 테스트시 에러가 뜹니다..ㅜㅜ
작성자 정보
- 민정운 작성
- 작성일
컨텐츠 정보
- 2,620 조회
- 1 댓글
- 0 추천
- 목록
본문
Domain Name :qaqa.com
ip :192.168.12.1
qa1.qaqa.com -> 192.168.12.1
qa2.qaqa.com -> 192.168.12.1
를 설정하려고 하는데 에러가 뜹니다.
*****************************************************named.conf*****************
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "qaqa.rev";
allow-update { none; };
};
zone "qaqa.com" IN {
type master;
file "qaqa.zone";
allow-update { none; };
};
***************************************************qaqa.rev****************
$TTL 86400
@ 1D IN SOA qa1.qaqa.com. root.qaqa.com. (
2006041704 ; serial (d. adams)
28800 ; refresh
30M ; retry
2W ; expiry
3H ; minimum
IN NS qa1.qaqa.com.
IN NS qa2.qaqa.com.
WWW IN A 192.168.1.32
qa1 IN A 192.168.1.32
qa1 IN CNAME www
32 IN PTR qaqa.com.
**************************************************qaqa.zone*****************
$TTL 86400
@ 1D IN SOA qa1.qaqa. root.qaqa.com. (
2006041704 ; serial (d. adams)
28800 ; refresh
30M ; retry
2W ; expiry
3H ; minimum
IN MX mail.qaqa.com.
IN NS qa1.qaqa.com.
IN NS qa2.qaqa.com.
32 IN PTR qa2.qaqa.com.
~
~
~
~
***************************************************************************
설정했을 시
[root@vm-rh9 named]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> qa1.qaqa.com
Server: 168.126.63.1
Address: 168.126.63.1#53
** server can't find qa1.jungwoon.com: NXDOMAIN
라는 결과가 뜹니다... ㅜ ㅜ 제발 좀 뜨게 해주세요..
관련자료
-
이전
-
다음
장세진님의 댓글
- 장세진
- 작성일
# nslookup
> server 192.168.12.1
위의 에러 메세지에서 쿼리할 DNS 서버는 외부에 있는 것 같군요,,,,
님께서 등록하시는 도메인이 등록기관에 제대로 등록이 되어 있다면,,,,
외부에서도 되겠지만 등록이 되어 있지 않은 경우라면,,,,,
로컬에서만 동작하는 것 같습니다....