한컴2.2를 사용합니다. bind9.1.3버전인가 그런데 네임서버 설정을
해놓고 제대로 동작하지 않아 로그를 볼려고 /var/log/messages를 열어보왔는데
아무것도 기록되있지 않더라구여.
머가 잘못됐는지 도저히 알수가 없네여. 문제는 네임서버등록을 ns.legendz.pe.kr
로 했는데 주소에 www.legendz.pe.kr 나 legendz.pe.kr은 접속이 안되는것입니다.
ns.legendz.pe.kr로 해야 됩니다. ㅡㅡ;; 호스트설정이 적용되지않은것 같은데...
참 그리고 /etc/resolv.conf에다 제 네임서버주소를 적고 재부팅하면 두루넷 네임서버로 바
껴버립니다. 제껀 지워지구여..이것도 연관이 있는것 같네요.
설정 파일을 올릴테니 봐주시면 감사하겠습니다.
두루넷 유동아이핀데 자주 바뀌진 않습니다.방화벽이 있긴한데 포트스캔으로 검사하면 53
포트는 커넥트로 나옵니다. oops.org의 강좌를 기본으로 했습니다.
모르는게 많아서 이렇게 질문이 기네요. 끝가지 읽어주셔서 감사합니다.
%%%%%%%%%%%%%%%%%%/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 "legendz.pe.kr" IN {
type master;
file "legendz.zone";
allow-update { none; };
};
zone "201.99.61.in-addr.arpa" IN {
type master;
file "201.99.61.rev.zone";
allow-update { none; };
};
include "/etc/rndc.key";
%%%%%%%%%%%%%%/var/named/legendz.zone%%%%%%%%%%%%%%
$TTL 86400
@ IN SOA ns.legendz.pe.kr. admin.legendz.pe.kr. (
1 ; Serial
10800 ; Refresh
3600 ; Retry
432000 ; Expire
86400 ; Minimum (TTL)
)
; Name Server
;
IN NS ns.legendz.pe.kr.
IN A 61.99.201.xxx
IN MX 10 legendz.pe.kr.
;
;Hostname & Infomations
localhost IN A 127.0.0.1
@ IN A 61.99.201.xxx
ns IN A 61.99.201.xxx
IN HINFO "Pentium-150 Linux"
;
;VirtualHost
ftp IN A 61.99.201.xxx
www IN A 61.99.201.xxx
;Alias
www IN CNAME @
%%%%%%%%%%%%%%%/var/named/201.99.61.rev.zone%%%%%%%%%%%.
$TTL 86400
@ IN SOA ns.legendz.pe.kr.net. admin.legendz.pe.kr. (
1 ; Serial
10800 ; Refresh
3600 ; Retry
432000 ; Expire
86400 ; Minimum (TTL)
)
;Name Server
;
IN NS ns.legendz.pe.kr.
IN MX 10 legendz.pe.kr.
;
;in.addr-arpa
;
xxx IN PTR legendz.pe.kr.
xxx IN PTR ftp.legendz.pe.kr.
xxx IN PTR www.legendz.pe.kr.--~m^^m~