bind 문제 일까요?

yonglim의 이미지

결론적으로다가 .. DNS 작동이 안됩니다..
그래서 웹을 구동하고 aaa.net 을 웹브라우저에 치면 서버를 찾을 수 없습니다.
ns.aaa.net으로 하면 페이지를 찾습니다.

/var/log/message 로그화일에서
Oct 1 14:40:05 tango named[13585]: starting BIND 9.2.4
Oct 1 14:40:05 tango named[13585]: using 1 CPU
Oct 1 14:40:05 tango named[13585]: loading configuration from '/etc/named.conf'
Oct 1 14:40:05 tango named[13585]: no IPv6 interfaces found
Oct 1 14:40:05 tango named[13585]: listening on IPv4 interface lo, 127.0.0.1#53
Oct 1 14:40:05 tango named[13585]: listening on IPv4 interface eth0, 210.111.11.111#53
Oct 1 14:40:05 tango named[13585]: listening on IPv4 interface eth0:1, 192.1.1.x#53
Oct 1 14:40:05 tango named[13585]: command channel listening on 127.0.0.1#953
Oct 1 14:40:05 tango named[13585]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2004092300
Oct 1 14:40:05 tango named[13585]: zone 11.111.210.in-addr.arpa/IN: loaded serial 2004092300
Oct 1 14:40:05 tango named[13585]: zone aaa.net/IN: loaded serial 2004092300
Oct 1 14:40:05 tango named[13585]: running

실행은 잘 되는 것 같습니다. local에서 nslookup 하면

[root@tango sysconfig]# nslookup
> set q=any
> aaa.net
Server: 210.111.11.111
Address: 210.111.11.111#53

aaa.net
origin = ns.aaa.net
mail addr = root.aaa.net
serial = 2004092300
refresh = 10800
retry = 3600
expire = 36000000
minimum = 43200
aaa.net nameserver = ns.aaa.net.
aaa.net mail exchanger = 10 mail.aaa.net.
Name: aaa.net
Address: 210.111.11.111

named 실행 후 다른 리눅스 서버에서 aaa.net 을 찾아보면

[root@mail root]# host -vv aaa.net
Trying "aaa.net"
Host aaa.net not found: 2(SERVFAIL)
Received 29 bytes from 168.126.63.1#53 in 5 ms

named 실행 후 로컬에서
[root@tango sbin]# host -vv aaa.net
Trying "aaa.net"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26769
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;aaa.net. IN A

;; ANSWER SECTION:
aaa.net. 86400 IN A 210.111.11.111

;; AUTHORITY SECTION:
aaa.net. 86400 IN NS ns.aaa.net.

;; ADDITIONAL SECTION:
ns.aaa.net. 86400 IN A 210.111.11.111

Received 78 bytes from 210.111.11.111#53 in 3 ms

port열려 있나 확인해봤더니
[root@tango sysconfig]# nmap -v -sS -O aaa.net

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Host aaa.net (210.111.11.111) appears to be up ... good.
Initiating SYN Stealth Scan against aaa.net (211.111.11.111)
Adding open port 873/tcp
Adding open port 53/tcp
Adding open port 21/tcp
Adding open port 139/tcp
Adding open port 111/tcp
Adding open port 901/tcp
Adding open port 80/tcp
Adding open port 22/tcp
The SYN Stealth Scan took 2 seconds to scan 1601 ports.
For OSScan assuming that port 21 is open and port 1 is closed and neither are firewalled
Interesting ports on aaa.net (211.111.11.111):
(The 1593 ports scanned but not shown below are in state: closed)
Port State Service
21/tcp open ftp
22/tcp open ssh
53/tcp open domain
80/tcp open http
111/tcp open sunrpc
139/tcp open netbios-ssn
873/tcp open rsync
901/tcp open samba-swat
Remote operating system guess: Linux Kernel 2.4.0 - 2.5.20
Uptime 0.270 days (since Fri Oct 1 08:32:19 2004)
TCP Sequence Prediction: Class=random positive increments
Difficulty=3721353 (Good luck!)
IPID Sequence Generation: All zeros

Nmap run completed -- 1 IP address (1 host up) scanned in 7 seconds

netstat 하면

tcp 0 0 192.1.1.x:53 0.0.0.0:* LISTEN
tcp 0 0 210.111.11.111:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
udp 0 0 192.1.1.x:53 0.0.0.0:*
udp 0 0 210.111.11.111:53 0.0.0.0:*
udp 0 0 127.0.0.1:53 0.0.0.0:*

뭐가 문제일런지요..........?????

codebank의 이미지

route문제 아닐까요?

------------------------------
좋은 하루 되세요.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.