'전체 글'에 해당되는 글 1440건

  1. 2008.03.31 Black Hat Europe 2008 열려
  2. 2008.03.30 CENT OS 5.0 설치후 named 데몬 에러날때

반응형

유로 2008 블랙햇 컨퍼런스가 열리고 있습니다.. 자세한 사항은 아래 링크에 따라 가보시면 각종 아카이브 파일들이 있네요...

몇몇 관심 가는 주제들도 있네요...

https://www.blackhat.com/html/bh-europe-08/bh-eu-08-archives.html

참고하세요..

반응형
,

반응형

센트OS 5.0 설치시 RPM으로 BIND 설치 했으나 설치후에 네임서버 구축하기 위하여 named 데몬를 시작하면 named.conf 파일이 없다고 하면서 더 이상 진행이 되지 않는다. 대부분 이럴때 재설치 하여도 동일한 현상이 나타나기 때문에 난감한 경우가 있다. 어떻게 대처 하는지 살쳐보자


CentOS의 bind-9.3.3 버전에서는 named.conf와 같은 config 파일을 더이상 기본으로 설치해 주지 않는다.

이것은 버그가 아니라, 신중히 고려한 결과로 선택한 사항이다. 기본적으로  /usr/share/doc/bind-9.x.x/sample/etc 나 /usr/share/doc/bind-9.x.x/sample/var/ 에서 설정파일을 복사하여 사용하면 된다.

혹은 system-config-bind를 이용하여 설정할 수도 있다.

[root@ns root]# rpm -qa | grep bind

bind-9.3.3
bind-libs-9.3.3
bind-utils-9.3.3

[root@ns root]# rpm -qa | grep nameserver

caching-nameserver-9.3.3


이상의 패키지가 설치되어 있는지 확인한다.

caching-nameserver-9.3.3 패키지가 설치되어 있다면,
/etc/named.conf를 대신하여 /etc/named.caching-nameserver.conf가 BIND 설정파일이 된다.

별도의 설정을 사용하고자 한다면, /etc/named.conf을 만들어주면,
BIND 서비스 재시작시 자동으로 /etc/named.conf를 설정파일로 이용한다.

별다른 error 없이 서비스 할 수 있을 것이다.

bind-chroot 패키지를 설치하였다면, BIND 서비스는 /var/named/chroot 디렉토리를 통하여 실행된다.

또한 모든 설정파일도 /var/named/chroot 디렉토리로 이동될 것이다.

named.conf 설정 파일도 /etc 디렉토리에 위치하는 것이 아니라 /var/named/chroot/etc/ 디렉토리에 위치하게 된다.


-------------- 원문 ------------------



=============================================================
Bind is broken in CentOS 5
No, it's not. Yes, it looks like it, as bind-9.3.3 in CentOS doesn't install the config files anymore, at least not, where you would expect them. That was a deliberate choice by our upstream vendor. See this bugzilla entry.

Basically you can just copy the example files from /usr/share/doc/bind-9.x.x/sample/etc/ and /usr/share/doc/bind-9.x.x/sample/var/ to start your own configuration from.

Or you can use system-config-bind to set things up.

Documentation on bind can be found in the Deployment Guide, see Chapter 16.



Note
If you have installed the bind-chroot package, the BIND service will run in the /var/named/chroot environment. All configuration files will be moved there. As such, named.conf will be located in /var/named/chroot/etc/named.conf, and so on.

Tip
If you have installed the caching-nameserver package, the default configuration file is /etc/named.caching-nameserver.conf. To override this default configuration, you can create your own custom configuration file in /etc/named.conf. BIND will use the /etc/named.conf custom file instead of the default configuration file after you restart.

출처: hong's blog

반응형
,