named only lintening on 127.0.0.0 interface
Fabio Aleixo Santos
fabio at fastec.com.br
Tue Mar 14 19:40:52 UTC 2000
Hi all,
I am setting up a secondary DNS server on a linux slackware 3.5 box with
kernel 2.0.36.
I have other machine running OK as primary dns, but the in the secondary it
seems that the named is only listening to the local loopback interface.
/var/log/messages :
Mar 16 20:27:16 stjames named[15090]: starting. named 8.1.2 Sat May 23
13:48:59 CDT 1998 ^Iroot at darkstar:/tmp/BIND-8.1.2-REL/src/bin/named
Mar 16 20:27:16 stjames named[15090]: cache zone "" (IN) loaded (serial 0)
Mar 16 20:27:16 stjames named[15090]: master zone "0.0.127.in-addr.arpa"
(IN) loaded (serial 2000160301)
Mar 16 20:27:16 stjames named[15090]: listening on [127.0.0.1].53 (lo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------?? shoud'nt have all other interfaces
?
Mar 16 20:27:16 stjames named[15090]: Forwarding source address is
[0.0.0.0].1311
Mar 16 20:27:16 stjames named[15091]: Ready to answer queries.
Also an nslookup from a session on the machine works great with 127.0.0.1 as
server , but when you specify server as being other interface
(200.210.128.2) it issues the following message :
" *** stjames.fastec.com.br can't find alol.com.br: No response from server
"
here is my named.conf :
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0.db";
};
zone "alol.com.br" {
type slave;
file "alol.db";
masters { 200.210.128.1;};
};
my resolv.conf :
search fastec.com.br
nameserver 127.0.0.1
nameserver 200.210.128.2
and the 127.0.0.1.db file :
@ in soa ns.stjames.fastec.com.br.
fabio.fastec.fastec.com.br. (
2000160301 ;serial
8H ;refresh
2H ;retry
1W ;expire
1D ) ;minimum
ns ns.stjames.fastec.com.br.
1 ptr localhost.
I really apreciate any directions one could give me !
Thanks in advance for any help !
Fabio Aleixo dos Santos
More information about the bind-users
mailing list