djbdns 구성 후 No response from server 문의

jklim의 이미지

안녕하세요.

가입하고 첫글이 질문이라 죄송합니다.

다름 아닌 사내에서 사용할 mail 및 dns 서버 구성 때문에 아래와 같은 조합으로 구성하였습니다.

OS : CentOS release 6.2 (Final)

daemontools, ucspi-tcp

qmail + vpopmail + mysql + qmailadmin

위와 같이 구성하였으며, pop3이나 smtp 접속은 문제 없는 것 같습니다.

그리고 djbdns 구성하여 아래와 같이 windows client 단에서 nslookup 으로 dns 서비스 점검을 시도하였습니다.

c:\>nslookup
> server xxx.xxx.xxx.xxx
Default Server:  xxx.xxx.co.kr
Address:  xxx.xxx.xxx.xxx
 
> google.co.kr
Server:  xxx.xxx.co.kr
Address:  xxx.xxx.xxx.xxx
 
*** xxx.xxx.co.kr can't find google.co.kr: No response from server

내부, 외부 둘다 설정한 내용은 query가 return 되지 않는 것 같습니다.

로컬에서 tinydns-get 명령으로 google.co.kr을 확인하여 보니,

[root@mail var]# tinydns-get a google.co.kr
1 google.co.kr:

주소를 query 못하는 것 같습니다.

하여, port를 확인하여 보니,
[root@mail var]# netstat -na | grep 53
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      
udp        0      0 127.0.0.1:53                0.0.0.0:*                               
udp        0      0 127.0.0.1:53                0.0.0.0:*            

포트는 열려 있고, 방화벽 또는 selinux가 문제될 요소가 있을 것 같아 아래와 같이 내려 놓은 상태입니다.
[root@mail var]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
 
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
 
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
[root@mail var]# sestatus
SELinux status:                 disabled

[root@mail var]# cat /etc/hosts.*
#
# hosts.allow   This file contains access rules which are used to
#               allow or deny connections to network services that
#               either use the tcp_wrappers library or that have been
#               started through a tcp_wrappers-enabled xinetd.
#
#               See 'man 5 hosts_options' and 'man 5 hosts_access'
#               for information on rule syntax.
#               See 'man tcpd' for information on tcp_wrappers
#
ALL:ALL
#
# hosts.deny    This file contains access rules which are used to
#               deny connections to network services that either use
#               the tcp_wrappers library or that have been
#               started through a tcp_wrappers-enabled xinetd.
#
#               The rules in this file can also be set up in
#               /etc/hosts.allow with a 'deny' option instead.
#
#               See 'man 5 hosts_options' and 'man 5 hosts_access'
#               for information on rule syntax.
#               See 'man tcpd' for information on tcp_wrappers
#

데몬은 아래와 같이 정상 구동 인 것 같습니다.
dns 관련 process

dnslog   14407  1920  0 Jan16 ?        00:00:00 multilog t ./main
dnslog   14409  1916  0 Jan16 ?        00:00:00 multilog t ./main
dnslog   14411  1923  0 Jan16 ?        00:00:00 multilog t ./main
root     14720  1912  0 Jan16 ?        00:00:00 supervise dnscache
dnscache 14751 14720  0 Jan16 ?        00:00:00 /usr/local/bin/dnscache
root     18106  1912  0 09:47 ?        00:00:00 supervise tinydns
tinydns  18107 18106  0 09:47 ?        00:00:00 /usr/local/bin/tinydns

pstree

init-+-abrt-dump-oops
     |-abrtd
     |-acpid
     |-atd
     |-auditd---{auditd}
     |-automount---4*[{automount}]
     |-cupsd
     |-dbus-daemon
     |-hald---hald-runner-+-hald-addon-acpi
     |                    `-hald-addon-inpu
     |-httpd---10*[httpd]
     |-mcelog
     |-6*[mingetty]
     |-mysqld_safe---mysqld---9*[{mysqld}]
     |-qpidd---2*[{qpidd}]
     |-rpc.idmapd
     |-rpc.statd
     |-rpcbind
     |-rsyslogd---2*[{rsyslogd}]
     |-sshd-+-sshd---bash---pstree
     |      `-sshd---bash---tail
     |-svscanboot-+-readproctitle
     |            `-svscan-+-6*[supervise---multilog]
     |                     |-supervise---qmail-send-+-qmail-clean
     |                     |                        |-qmail-lspawn
     |                     |                        `-qmail-rspawn
     |                     |-supervise
     |                     |-2*[supervise---tcpserver]
     |                     |-supervise---dnscache
     |                     `-supervise---tinydns
     |-udevd---udevd
     `-xinetd

혹시, 제가 간과하거나 tip이 있으시면 조언 부탁드리겠습니다.
(연결이 느려서 여러번 저장 누르다 보니 게시글이 너무 많이 올라 온 것 같습니다.
도배로 보여 죄송하며, 삭제 방법 알려주시면 지우도록 하겠습니다.)

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.