4,553,761 th visitor since 2017.2.1 ( Today : 1534 )
Computer ???
No. 416
Name. swindler
Subject. lame server resolving 로그메세지
Main Cate. Linux
Sub Cate.
Date. 2011-02-01 10:02
Hit. 6270 (211.36.27.8)
File.
log/message 중에서..

Dec 27 10:07:30 www named[604]: lame server resolving 'mail1.81890.net' (in '81890.NET'?): 210.74.224.2#53
Dec 27 10:07:30 www named[604]: lame server resolving '7.240.74.210.in-addr.arpa' (in '240.74.210.in-addr.arpa'?): 210.74.224.2#53


/etc/named.conf 파일내에...
ptions {
directory "/var/named";
};
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; };
};

//추가
logging {
category lame-servers { null; };
};

위의 설정을 넣고 named를 재시작하시면 로그는 남겨지지 않습니다.

/etc/init.d/name restart





----------------------
named.caching-nameserver.conf -> /var/named/chroot//etc/named.caching-nameserver.conf
named.conf -> named.rfc1912.zones

이런식으로 구성이 되어 있는 경우에는
named.caching-nameserver.conf 이 파일을 다음과 같은 형태로 수정하면 됨.



options {
listen-on port 53 { 127.0.0.1; };
listen-on port 53 { 211.191.168.119; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
query-source port 53;
query-source-v6 port 53;
allow-query { any; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
category lame-servers { null; } ;
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};



[바로가기 링크] : http://coolx.net/cboard/computer/416



swindler /etc/named.conf가 named.rfc1912.zones를 가리키는 경우에, named.caching-nameserver.conf에 설정하면 됨. 2011-02-01
Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog