ns.~ 로 접속되나 www. 접속은 안되고 있습니다.
작성자 정보
- 네버다이 작성
- 작성일
컨텐츠 정보
- 1,184 조회
- 0 추천
- 목록
본문
[root@localhost ]# nslookup ns.anjb.com
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.
Server: 61.81.118.209
Address: 61.81.118.209#53
Name: ns.anjb.com
Address: 61.81.118.209
[root@localhost ]#
[root@localhost ]# nslookup www.anjb.com
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.
Server: 61.81.118.209
Address: 61.81.118.209#53
** server can't find www.anjb.com: SERVFAIL
[root@localhost ]#
이렇게 나오구요. ns.anjb.com 은 접속이 되나 www.anjb.com 이나 anjb.com은 접속이
되질 않고 있습니다. 도움 좀 부탁드리겠습니다.
다음은 설정관련한 파일 내용입니다. 와우리눅스 7.3 파란 R2, bind9.2.1.rpm 환경입니다.
* /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 "118.81.61.in-addr.arpa" IN {
type master;
file "reverse.zone";
allow-update { none; };
};
zone "ns.anjb.com" IN {
type master;
file "anjb.zone";
allow-update { none; };
};
/**
key "key" {
algorithm hmac-md5;
secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};
*/
include "/etc/rndc.key";
* /var/named/anjb.zone
$TTL 86400
@ IN SOA ns.anjb.com. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.anjb.com.
@ IN A 61.81.118.209
WWW IN A 61.81.118.209
NS IN A 61.81.118.209
~
~
* /var/named/reverse.zone
$TTL 86400
@ IN SOA ns.anjb.com. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.anjb.com.
111 IN PTR ns.anjb.com.
~
* /etc/resolv.conf
#search localhost.localdomain
nameserver 61.81.118.209
nameserver 211.33.228.2
search localhost
* /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
~
* /var/log/messages 가장 마지막것입니다.
Jan 22 16:49:08 localhost 1월 22 16:49:08 named: named 종료 succeeded
Jan 22 16:49:08 localhost named[1350]: starting BIND 9.2.1 -u named
Jan 22 16:49:08 localhost named[1350]: using 1 CPU
Jan 22 16:49:08 localhost named[1353]: loading configuration from '/etc/named.conf'
Jan 22 16:49:08 localhost named[1353]: no IPv6 interfaces found
Jan 22 16:49:08 localhost named[1353]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 22 16:49:08 localhost named[1353]: listening on IPv4 interface eth0, 61.81.118.209#53
Jan 22 16:49:08 localhost named[1353]: command channel listening on 127.0.0.1#953
Jan 22 16:49:08 localhost named[1353]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jan 22 16:49:08 localhost named[1353]: zone 118.81.61.in-addr.arpa/IN: loaded serial 1997022700
Jan 22 16:49:08 localhost named[1353]: zone ns.anjb.com/IN: loaded serial 1997022700
Jan 22 16:49:08 localhost named[1353]: zone localhost/IN: loaded serial 42
Jan 22 16:49:08 localhost named[1353]: running
관련자료
-
이전
-
다음