named(네임서버)에서 별칭(CNAME)이 내부에서는 잘 되는데 외부?

ins878의 이미지

fedora core2로 버젼없을 하고 나서부터 named(네임서버)에서 별칭(CNAME)이 먹히질 않습니다.
즉, cau.hs.kr ==> (별칭) www.cau.hs.kr
서버안에서는 nslookup을 하면 별칭이 뜨는데, 외부에서는 먹히질 않습니다. 어떻게 해야하는지 고수님들 부탁드립니다.

내부에서 nslookup www.cau.hs.kr을 했을경우....

Server: 210.104.1.3
Address: 210.104.1.3#53

www.cau.hs.kr canonical name = ns1.cau.hs.kr.
Name: ns1.cau.hs.kr
Address: 211.250.183.114

외부에서 nslookup www.cau.hs.kr을 했을경우....

Server: kns.kornet.net
Address: 168.126.63.1

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to kns.kornet.net timed-out

named 설정파일

##########################################
###### 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
//
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 "183.250.211.in-addr.arpa" IN {
type master;
file "named.rev";
allow-update { none; };
};

zone "cau.hs.kr" IN {
type master;
file "named.zone";
allow-update { none; };
};

include "/etc/rndc.key";

##########################################
###### named.rev #################
##########################################

@ IN SOA ns1.cau.hs.kr. root.ns1.cau.hs.kr. (
2003101118; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum

IN NS ns1.cau.hs.kr.
IN NS ns2.cau.hs.kr.

114 IN PTR ns1

##########################################
###### named.zone #################
##########################################

@ IN SOA ns1.cau.hs.kr. root.ns1.cau.hs.kr. (
2003101118; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum

IN NS ns1.csu.hs.kr.
IN NS ns2.cau.hs.kr.

@ IN A 211.250.183.114
IN MX 10 cau.hs.kr.

ns1 IN A 211.250.183.114

www IN CNAME ns1
; www IN CNAME @ 이렇게해도 안됩니다.

zflute의 이미지

Quote:

<6 gong: 420/zflute> dig @ns.bora.net www.cau.hs.kr

; <<>> DiG 8.2 <<>> @ns.bora.net www.cau.hs.kr
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1
;; QUERY SECTION:
;; www.cau.hs.kr, type = A, class = IN

;; ANSWER SECTION:
www.cau.hs.kr. 1D IN CNAME ns1.cau.hs.kr.
ns1.cau.hs.kr. 1D IN A 211.250.183.114

;; AUTHORITY SECTION:
cau.hs.kr. 1D IN NS ns1.csu.hs.kr.
cau.hs.kr. 1D IN NS ns2.cau.hs.kr.

;; ADDITIONAL SECTION:
ns2.cau.hs.kr. 23h59m56s IN A 211.250.183.117

;; Total query time: 3112 msec
;; FROM: gong to SERVER: ns.bora.net 164.124.101.2
;; WHEN: Thu Jul 29 02:57:37 2004
;; MSG SIZE sent: 31 rcvd: 134

처리 시간이 오래 걸리긴 하지만 응답을 받아오는데는 문제가 없는 것 같습니다. 네임서버 문제가 아니라 서버가 위치한 곳의 네트웍 문제가 아닌가 싶습니다. (3초가 넘게 걸리는 것을 보면...)

ins878의 이미지

이상하게도 자꾸 타임아웃이 되어서 세팅에 이상이 있는 줄 알았습니다.
전혀 네트워크가 느릴 것이라는 생각을 못했습니다.

답변 매우 감사드립니다.

^^

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.