[plug] BIND

Andrew Barbara Andrew at mmtnetworks.com.au
Thu Feb 7 17:28:37 WST 2002


the iptables has no rules and the policy is ACCEPT.
when i do a netstat -nlp i get the following:

# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:1024            0.0.0.0:*               LISTEN      667/rpc.statd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      639/portmap
tcp        0      0 192.168.1.25:53         0.0.0.0:*               LISTEN      6089/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      6089/named
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      848/sshd
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      6089/named
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      5197/sendmail: acce
udp        0      0 0.0.0.0:1024            0.0.0.0:*                           667/rpc.statd
udp        0      0 0.0.0.0:1043            0.0.0.0:*                           6089/named
udp        0      0 192.168.1.25:53         0.0.0.0:*                           6089/named
udp        0      0 127.0.0.1:53            0.0.0.0:*                           6089/named
udp        0      0 0.0.0.0:843             0.0.0.0:*                           667/rpc.statd
udp        0      0 0.0.0.0:111             0.0.0.0:*                           639/portmap
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path

when i do a dig @192.168.1.3 (witch is an existing name server) i get:

# dig @192.168.1.3

; <<>> DiG 9.1.3 <<>> @192.168.1.3
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43588
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                       32102   IN      NS      A.ROOT-SERVERS.NET.
.                       32102   IN      NS      B.ROOT-SERVERS.NET.
.                       32102   IN      NS      C.ROOT-SERVERS.NET.
.                       32102   IN      NS      D.ROOT-SERVERS.NET.
.                       32102   IN      NS      E.ROOT-SERVERS.NET.
.                       32102   IN      NS      F.ROOT-SERVERS.NET.
.                       32102   IN      NS      G.ROOT-SERVERS.NET.
.                       32102   IN      NS      H.ROOT-SERVERS.NET.
.                       32102   IN      NS      I.ROOT-SERVERS.NET.
.                       32102   IN      NS      J.ROOT-SERVERS.NET.
.                       32102   IN      NS      K.ROOT-SERVERS.NET.
.                       32102   IN      NS      L.ROOT-SERVERS.NET.
.                       32102   IN      NS      M.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET.     401207  IN      A       198.41.0.4
B.ROOT-SERVERS.NET.     401207  IN      A       128.9.0.107
C.ROOT-SERVERS.NET.     401207  IN      A       192.33.4.12
D.ROOT-SERVERS.NET.     401207  IN      A       128.8.10.90
E.ROOT-SERVERS.NET.     401207  IN      A       192.203.230.10
F.ROOT-SERVERS.NET.     401207  IN      A       192.5.5.241
G.ROOT-SERVERS.NET.     401207  IN      A       192.112.36.4
H.ROOT-SERVERS.NET.     401207  IN      A       128.63.2.53
I.ROOT-SERVERS.NET.     401207  IN      A       192.36.148.17
J.ROOT-SERVERS.NET.     118502  IN      A       198.41.0.10
K.ROOT-SERVERS.NET.     118502  IN      A       193.0.14.129
L.ROOT-SERVERS.NET.     118502  IN      A       198.32.64.12
M.ROOT-SERVERS.NET.     118502  IN      A       202.12.27.33

;; Query time: 3 msec
;; SERVER: 192.168.1.3#53(192.168.1.3)
;; WHEN: Fri Feb  8 00:42:19 2002
;; MSG SIZE  rcvd: 436

but when i do dig @127.0.0.1 i get:
# dig @127.0.0.1

; <<>> DiG 9.1.3 <<>> @127.0.0.1
;; global options:  printcmd
;; connection timed out; no servers could be reached


This is an out of the box install of Bind, in the past i have just started bind and run dig or nslookup to test it and it would allow me to connect.

Andrew Barbara,  MCP
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au

>>> "Mark Nold" <markn at enspace.com> 02/07/02 06:16PM >>>
Andrew,

Have you solved your problem? If not i can mail you my various config files
for BIND (on RH 7.2) which i use as a caching forwarding name server. (I used
the DNS How To, pretty good)

With IP's did you use "dig -x 127.0.0.1" and did you try the IP you have set
up for you nic? eg: "dig -x 192.168.1.177"

(These may be dumb suggestions but Bind and Dig are new to me :)

mn

>Hi,
>I have just installed an RH7.2 server and BIND 9.1.3-4 came on it by =
>default. I started bind and tryed to do a dig but it just tmed out. My =
>/etec/resolve.conf has "nameserver 127.0.0.1" in it on the second line =
>under the search statement.
>The iptables is empty.
>What could be wrong?
>
>Andrew Barbara,  MCP
>MMT Networks Pty Ltd
>http://www.mmtnetworks.com.au
>
>--=_CA9799D1.55345A8D
>Content-Type: text/plain
>Content-Disposition: attachment; filename="TEXT.htm"
>Content-Description: HTML
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
><META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
><BODY style="FONT: 8pt Tahoma; MARGIN-LEFT: 2px; MARGIN-TOP: 2px">
><DIV><FONT size=1>Hi,</FONT></DIV>
><DIV><FONT size=1>I have just installed an RH7.2 server and BIND 9.1.3-4 came
on
>it by default. I started bind and tryed to do a dig but it just tmed
>out. My /etec/resolve.conf has "nameserver 127.0.0.1" in it on the second line

>under the search statement.</FONT></DIV>
><DIV><FONT size=1>The iptables is empty.</FONT></DIV>
><DIV><FONT size=1>What could be wrong?</FONT></DIV>
><DIV> </DIV>
><DIV><FONT size=1>Andrew Barbara,  MCP<BR>MMT Networks Pty Ltd<BR><A
>href="http://www.mmtnetworks.com.au">http://www.mmtnetworks.com.au</A></FONT></DIV></BODY></HTML>

>
>--=_CA9799D1.55345A8D--
>
>
>
Mark Nold
markn at enspace.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20020207/721f4721/attachment.htm>


More information about the plug mailing list