: 아무리 해도 않되서요.....
: 지금 거의 5일째 밤새 매달리고 있는데.....진짜 않되네요.....
:
: 보시구 틀린거 있으면 조언좀 부탁드려요 ㅠㅠ
: www.nanseul.com만 되면 어떻게 해보겠는데 ㅠㅠ......
:
: 참고로.....한컴리눅스2.2(2.4.13-1hl)이구요...
:
: 현재 서버로 돌릴 컴퓨터의 정보를 적어보께요.
: IP : 203.241.228.228
: DNS : 203.241.228.228 (ns1.nanseul.com)
: 203.241.250.11 (학교에서 쓰는 1차...)
: 203.241.246.11 (학교에서 쓰는 2차...)
: 도메인 : nanseul.com
:
:
:
: 그럼 파일들 쫙 뿌려보께요...
:
: ===============================================
: /etc/sysconfig/network=========================
: ===============================================
: DOMAIN=nanseul.com
: NETWORKING=yes
: HOSTNAME=linux
: GATEWAY=203.241.228.1
: ===============================================
:
: ===============================================
: /etc/resolv.conf===============================
: ===============================================
: nameserver 203.241.228.228
: ===============================================
:
: ===============================================
: /etc/hosts=====================================
: ===============================================
: # Do not remove the following line, or various programs
: # that require network functionality will fail.
: 127.0.0.1 inje.ac.kr linux localhost.localdomain localhost
: 192.168.1.1 lovydayz lovydayz
: ===============================================
:
:
: ===============================================
: /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
: //
: 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 "zone-228.241.203.in-addr.arpa" IN {
: type master;
: file "zone-228.241.203.in-addr.arpa";
: };
:
: zone "nanseul.com" IN {
: type master;
: file "zone-nanseul";
: };
:
:
: include "/etc/rndc.key";
: ===============================================
:
: ===============================================
: /var/named/zone-228.241.203.in-addr.arpa=======
: ===============================================
: $TTL 86400
: @ IN SOA ns1.nanseul.com. root.nanseul.com. (
: 2001121601 ; Serial
: 3H ; Refresh
: 14400 ; Retry
: 3600000 ; Expire
: 86400 ) ; Minimum
:
: IN NS ns1.nanseul.com.
:
: 228 IN PTR www.nanseul.com. : ===============================================
:
:
: ===============================================
: /var/named/zone-nanseul========================
: ===============================================
: $TTL 86400
: @ IN SOA ns1.nanseul.com. root.nanseul.com. (
: 2001121601 ; serial (d. adams)
: 3H ; refresh
: 15M ; retry
: 1W ; expiry
: 1D ) ; minimum
:
: IN NS ns1.nanseul.com.
:
: ns1 IN A 203.241.228.228
: www IN A 203.241.228.228
: linux IN A 203.241.228.228
: ===============================================
:
:
: 이상입니다.....휴휴.....
제 로그 파일 입니다.
# /etc/rc.d/init.d/named restart
# vi /var/log/messages
--------중간 생략--------
Dec 16 05:56:33 ns named[4679]: shutting down
Dec 16 05:56:33 ns named[4679]: no longer listening on 127.0.0.1#53
Dec 16 05:56:33 ns named[4679]: no longer listening on 211.37.25.121#53
Dec 16 05:56:33 ns named[4679]: no longer listening on 192.168.0.1#53
Dec 16 05:56:33 ns named[4675]: exiting
Dec 16 05:56:35 ns 12월 16 05:56:35 named: named shutdown succeeded
Dec 16 05:56:35 ns named[13860]: starting BIND 9.1.0 -u named
Dec 16 05:56:35 ns named[13860]: using 1 CPU
Dec 16 05:56:35 ns 12월 16 05:56:35 named: named startup succeeded
Dec 16 05:56:35 ns named[13864]: loading configuration from '/etc/named.conf'
Dec 16 05:56:36 ns named[13864]: the default for the 'auth-nxdomain' option is n
ow 'no'
Dec 16 05:56:36 ns named[13864]: no IPv6 interfaces found
Dec 16 05:56:36 ns named[13864]: listening on IPv4 interface lo, 127.0.0.1#53
Dec 16 05:56:36 ns named[13864]: listening on IPv4 interface eth0, 211.37.25.121
#53
----------------------------------- 설정 잘못 되었을 때--------
Dec 14 16:10:46 ns 12월 14 16:10:46 named: named shutdown succeeded
Dec 14 16:10:46 ns named[3068]: starting BIND 9.1.0 -u named
Dec 14 16:10:46 ns 12월 14 16:10:46 named: named startup succeeded
Dec 14 16:10:46 ns named[3068]: using 1 CPU
Dec 14 16:10:46 ns named[3072]: loading configuration from '/etc/named.conf'
Dec 14 16:10:46 ns named[3072]: the default for the 'auth-nxdomain' option is no
w 'no'
Dec 14 16:10:46 ns named[3072]: no IPv6 interfaces found
Dec 14 16:10:46 ns named[3072]: listening on IPv4 interface lo, 127.0.0.1#53
Dec 14 16:10:46 ns named[3072]: listening on IPv4 interface eth0, 211.37.25.121#
53
Dec 14 16:10:46 ns named[3072]: listening on IPv4 interface eth1, 192.168.0.1#53
Dec 14 16:10:46 ns named[3072]: dns_zone_load: zone 25.37.211.in-addr.arpa/IN: l
oading master file xjoin.ip: file not found
Dec 14 16:10:47 ns named[3072]: running
----------------------------------------------------------------------
Dec 14 16:25:36 ns named[3108]: shutting down
Dec 14 16:25:36 ns named[3108]: no longer listening on 127.0.0.1#53
Dec 14 16:25:36 ns named[3108]: no longer listening on 211.37.25.121#53
Dec 14 16:25:36 ns named[3108]: no longer listening on 192.168.0.1#53
Dec 14 16:25:36 ns named[3104]: exiting
Dec 14 16:25:36 ns 12월 14 16:25:36 named: named shutdown succeeded
Dec 14 16:25:36 ns named[3138]: starting BIND 9.1.0 -u named
Dec 14 16:25:36 ns named[3138]: using 1 CPU
Dec 14 16:25:36 ns 12월 14 16:25:36 named: named startup succeeded
Dec 14 16:25:36 ns named[3140]: loading configuration from '/etc/named.conf'
Dec 14 16:25:36 ns named[3140]: the default for the 'auth-nxdomain' option is no
w 'no'
Dec 14 16:25:36 ns named[3140]: no IPv6 interfaces found
Dec 14 16:25:36 ns named[3140]: listening on IPv4 interface lo, 127.0.0.1#53
Dec 14 16:25:37 ns named[3140]: listening on IPv4 interface eth0, 211.37.25.121#
53
Dec 14 16:25:37 ns named[3140]: listening on IPv4 interface eth1, 192.168.0.1#53
Dec 14 16:25:37 ns named[3140]: dns_zone_load: zone 25.37.211.in-addr.arpa/IN: l
oading master file xjoin.ip: file not found
Dec 14 16:25:37 ns named[3140]: dns_rdata_fromtext: zone-xjoin.net:7: near eol:
syntax error
Dec 14 16:25:37 ns named[3140]: dns_zone_load: zone xjoin.net/IN: loading master
file zone-xjoin.net: syntax error
--------------------------------------------------------------------
한번 로그 파일 한번 보세요....
전 이거 해결 할려고.... 여기 적수 동네 질문과 답변란...
dns 관련 질문 답변 거의 다 읽었습니다.
하루만에 해결 했지만..
결국은 설정이 잘 못 되었더라구여 ..그래서 만들기 파일 지웠다
만들었다 얼마나 했던지..음.
도움이 되었을지 모르겠습니다.
$TTL 86400
@ IN SOA ns.xjoin.net. root.xjoin.net. (
2001121406 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.xjoin.net.
IN A 211.37.25.121
IN MX 10 mail.xjoin.net.
IN MX 20 mail.xjoin.net.
localhost IN A 211.37.25.121
ns IN A 211.37.25.121
www IN A 211.37.25.121
mail IN A 211.37.25.121
ftp IN A 211.37.25.121
제 파일 입니다.
참고만 하세요--열심히 삽질 하자 허접삽질 엽기 삽질