DNS 설정을 바꿨는데 안됩니다.

익명 사용자의 이미지

smc.or.kr 도메인을 cheilsmc.co.kr 로 바꾸려고 /etc 와 /var/named에 있

파일들을 게시판에 나온대로 고쳐서 서버를 껐다가 켰는데
cheilsmc.co.kr로 안들어가고 smc.or.kr로만 들어갑니다.
그러니까 새 도메인으로 안들어가는거죠.
고칠데는 다 고쳤는데요.
그리고 cheil.smc.or.kr 로 가상호스팅을 httpd.conf 에 설정을 했는데도
안되고요.
저희 회사는 DNS 서버(203.229.174.1), Web서버(203.229.174.4),
Mail/FTL 서버(203.229.174.5) 로 서버를 따로 두고 씁니다.

제가 설정한 파일을 첨부합니다.

[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
// 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 "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 "cheilsmc.co.kr" IN {
type master;
file "forward.zone";
allow-update { none; };
};

zone "229.174.1.in-addr.arpa" IN {
type master;
file "reverse.zone";
allow-update { none; };
};

zone "174.229.203.in-addr.arpa" IN {
type master;
file "named.rev";
};

zone "cheilsmc.co.kr" IN {
type master;
file "db.zone";
allow-update { none; };
};

zone "174.229.203229.203in-addr.arpa" IN {
type master;
file "db.rev";
allow-update { none; };
};

//zone "smc.or.kr" IN {
// type master;
// file "named.hosts";
//};

zone "cheilsmc.co.kr" IN {
type master;
file "named.hosts";
};

[db.zone]
$TTL 86400
@ IN SOA ns.cheilsmc.co.kr. root.cheilsmc.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.cheilsmc.co.kr.
@ IN A 203.229.174.1
www IN A 203.229.174.1

[db.rev]
$TTL 86400
@ IN SOA ns.cheilsmc.co.kr. root.cheilsmc.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.cheilsmc.co.kr.
1 IN PTR cheilsmc.co.kr.
1 IN PTR www.cheilsmc.co.kr

/etc/rc.d/init.d/named restart
Stopping named [FAILED]
Starting named [ OK ]

->restart 시키면 stop failed 납니다.

익명 사용자의 이미지

안녕하세요...

일단은 네임서버를 구동한 후 데몬이 떠 있는지를 확인을 하시고요(설정이 다 맞는지를 확인)...
그리고 설정을 병경 후...
Serial 값을 상향 조정 해주셔야 합니다.
우선은 이 두가지를 확인을 해보시면은 되겠구요...

그 다음으로 도메인을 구입한 곳에 자신이 사용하고자 하는 도메인의 네임 서버가 등록을 한지 만 하루(보통 만 하루에 한번 갱신을 해줌니다)가 지났는지도 확인을 해주셔야 할것 같네요...
제가 보기엔 이것들 중에 문제가 있지 않나 생각이 드네요...

그럼... 상쾌한 하루가 되시길...

_ 信

익명 사용자의 이미지

우선 답변에 감사드리고요.
제가 이제 리눅스 초보라서요. 추기 질문 드립니다.

(1) 네임서버 데몬 확인은 어떻게 하는지요?
(2) Serial 값은 어떻게 얼마로 바꿔줘야 하는지요?

도메인 네임 서버는 정상적으로 반영이 되어 있습니다.

그럼... 상쾌한 하루가 되시길...

익명 사용자의 이미지

(1) 네임서버 데몬 확인은 어떻게 하는지요?
이건 아래의 명령어로 간단히 알 수가 있습니다.
$ ps -ax | grep named
하시면은 named(네임서버 데몬)이 있으면은 나올겁니다.
보통은 다섯개 정도가 나오게됩니다.

(2) Serial 값은 어떻게 얼마로 바꿔줘야 하는지요?
만약 변경된 설정 값을 적용을 시키기 위해선 Serial 값을 업그레이드를 시켜주는데...
만약 Serial 값이 100 인 경우엔 100보다 큰값(101) 같이 값을 넣어 주면은 됩니다.
그리고 참고로 이 Serial 값은 오늘의 날짜를 넣어서 관리하는게 일반적입니다.
그러니깐...
Serial=200201151417 ( 2002년 1월 15일 14시 17분 )
이렇게 값을 갱신을 해주면은 중복 되거나 하는 경우는 거의 없고...
관리를 하는데 많은 도움이 될것입니다.

그럼...

_ 信

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.