>> Delete No. 32582 article
No. 답변이 없어 한번더.. named 설정

등록 2001-06-08 13:33:00 By localhost     조회 2
이름 힘들다    

		레드햇 7.1 사용합니다..
named가 작동 불능입니다..
도와주세요..ㅜ.ㅜ
/var/log/messages의 name부분 입니다..
Jun 8 09:18:51 ns named[729]: shutting down
Jun 8 09:18:51 ns named[729]: no longer listening on 127.0.0.1#53
Jun 8 09:18:51 ns named[729]: no longer listening on 211.191.177.8#53
Jun 8 09:18:51 ns named[726]: exiting
Jun 8 09:18:51 ns named: named shutdown succeeded
Jun 8 09:18:51 ns named[1437]: starting BIND 9.1.0 -u named
Jun 8 09:18:51 ns named[1437]: using 2 CPUs
Jun 8 09:18:51 ns named[1439]: loading configuration from '/etc/named.conf'
Jun 8 09:18:51 ns named[1439]: the default for the 'auth-nxdomain' option is now 'no'
Jun 8 09:18:51 ns named: named startup succeeded
Jun 8 09:18:51 ns named[1439]: no IPv6 interfaces found
Jun 8 09:18:51 ns named[1439]: listening on IPv4 interface lo, 127.0.0.1#53
Jun 8 09:18:51 ns named[1439]: listening on IPv4 interface eth0, 211.191.177.8#53
Jun 8 09:18:51 ns named[1439]: dns_rdata_fromtext: sumland-zone:11: near eol:unexpected end of input
Jun 8 09:18:51 ns named[1439]: dns_zone_load: zone sumland.co.kr/IN: loading master file sumland-zone: unexpected end of
 input Jun 8 09:18:51 ns named[1439]: running
이렇게 메세지가 뜨고 있고
저의 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
//
zone "." {
type hint;
file "named.ca";
};
 zone "localhost" {
type master;
file "localhost.zone";
allow-update { none; };
};
 zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
allow-update { none; };
};
  key "key" {
algorithm hmac-md5;
secret "PCUHYZQkTTimGtNvUbMDUjUTblGGYOVvXEElxJcrWMHCKBwzgaFrkNptlKKA";
};
  // sumland
 zone "xxx.co.kr" {
type master;
file "xxx-zone";
};
 // reverse
 zone "xxx.xxx.xxx.in-addr.arpa" {
type master;
file "reverse";
};
 /var/named/xxx-zone 파일은
$TTL 86400
@ IN SOA ns.xxx.co.kr. ychany.xxx.co.kr. (
2001060701; Serial
7200 ; Refresh - 2 hours
3600 ; Retry - 1 hours
43200 ; Expiry - 12 hours
3600 ) ; Minimum - 1 hours
IN NS ns.xxx.co.kr.
IN A xxx.xxx.xxx.8
 IN HINFO "xxx-linux"
 IN MX 10 mail.xxx.co.kr.
 localhost IN A 127.0.0.1
ns IN A xxx.xxx.xxx.8
mail IN A xxx.xxx.xxx.8
www IN A xxx.xxx.xxx.8
ftp IN A xxx.xxx.xxx.8
xxx.co.kr. IN A xxx.xxx.xxx.8
xxx.co.kr. IN MX 10 mail.xxx.co.kr.
mail.xxx.co.kr. IN A xxx.xxx.xxx.8
mail.xxx.co.kr. IN MX 10 mail.xxx.co.kr.
 reverse 파일은
$TTL 86400
@ IN SOA xxx.co.kr. ychany.xxx.co.kr. (
2001060701 ; Serial
7200 ; Refresh - 2 hours
3600 ; Retry - 1 hours
43200 ; Expiry - 12 hours
3600) ; Minimum - 1 hours
@ IN NS ns.xxx.co.kr.
 8 IN PTR xxx.co.kr.
8 IN PTR www.xxx.co.kr. 8 IN PTR ftp.xxx.co.kr.
8 IN PTR mail.xxx.co.kr.
 /etc/resolv.conf 파일은
nameserver 202.30.143.11
nameserver 168.126.63.1
 /etc/rndc.conf
/*
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
*/
 /* $Id: rndc.conf,v 1.6.4.1 2001/01/09 22:32:57 bwelling Exp $ */
 /*
* Sample rndc configuration file.
*/
 options {
default-server localhost;
default-key "key";
};
 server localhost {
key "key";
};
key "key" {
algorithm hmac-md5;
secret "PCUHYZQkTTimGtNvUbMDUjUTblGGYOVvXEElxJcrWMHCKBwzgaFrkNptlKKA";
};
 이렇게 되어있습니다.
며칠째 삽질만 하고 있습니다..
이부분말고 또 설정부분이 있는지요..
/etc/hosts 부분은 local ip 만 적었구요..
아무튼 bind8.x와 설정은 똑같이 했는데 안됩니다..
고수님들 도와주세요..
죽겠습니다..
 네임 가동하면 이렇게 나옵니다..
nslookup www.xxxxx.net 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.
;; connection timed out; no servers could be reached.--나도 고수가 되고잡다..ㅠ.ㅠ
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved