Forwarding nameserver, help needed.
Morten Laursen
morten at cs.auc.dk
Sun Sep 5 21:08:50 UTC 1999
Hi
I'd be really happy if someone could help me here...
I'm trying to set up a forwarding DNS server using bind 8.2. But I
cannot get it to forward requests. My local domain is aalk.auc.dk, and
I want everything else forwarded. I have no problem looking up
adresses in my local domain.
This is my named.conf:
options {
directory "/var/named";
forward only;
forwarders{
130.225.54.2;
};
};
zone "aalk.auc.dk"{
type master;
file "named.aalk";
};
zone "74.168.192.in-addr.arpa"{
type master;
file "named.192.168.74";
};
zone "0.0.127.in-addr.arpa"{
type master;
file "named.local";
};
zone "." {
type hint;
file "named.ca";
};
named.ca is empty since I want to use forward only. I have followed
the instructions of: http://hjb-net.de/linux/named_e.html. (I also
tried to play with dnsconf, but no luck here either.)
If it can help you here's a little debug info resulting from starting
named and looking up sunsite.auc.dk:
/var/log/messages (I cut out the dates and stuff):
starting. named 8.2 Wed Mar 31 10:57:12 EST 1999
^Iroot at porky.devel.redhat.com:/usr/src/bs/BUILD/bind-8.2/src/bin/named
Zone "aalk.auc.dk" (file named.aalk): No default TTL set using SOA
minimum instead
master zone "aalk.auc.dk" (IN) loaded (serial 1999090501)
Zone "74.168.192.in-addr.arpa" (file named.192.168.74): No default TTL
set using SOA minimum instead
master zone "74.168.192.in-addr.arpa" (IN) loaded (serial 1997110901)
Zone "0.0.127.in-addr.arpa" (file named.local): No default TTL set
using SOA minimum instead
master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 1997022700)
cache zone "" (IN) loaded (serial 0)
ctl_server: bind: Address already in use
listening on [127.0.0.1].53 (lo)
listening on [192.168.74.10].53 (eth0)
Forwarding source address is [0.0.0.0].2257
Ready to answer queries.
No root nameservers for class IN
named.run (debuglevel 1):
req: nlookup(sunsite.auc.dk) id 4923 type=1 class=1
req: found 'sunsite.auc.dk' as 'auc.dk' (cname=0)
findns: No root nameservers for class IN?
No root nameservers for class IN
ns_req: answer -> [192.168.74.10].2258 fd=22 id=4923 size=32 rc=2
datagram from [192.168.74.10].2258, fd 22, len 44
req: nlookup(sunsite.auc.dk.aalk.auc.dk) id 4924 type=1 class=1
req: found 'sunsite.auc.dk.aalk.auc.dk' as 'aalk.auc.dk' (cname=0)
ns_req: answer -> [192.168.74.10].2258 fd=22 id=4924 size=103 rc=3
Thanks in advance
..morten
---
Morten Laursen # 9th sem Data Engineering Student # Aalborg University
http://www.cs.auc.dk/~morten/ # mailto:morten at cs.auc.dk
Home: Scoresbysundvej 3 vaer 39, DK-9210 Aalborg SOe
Phone: (+45) 98149866 - 139 # cell: (+45) 28263529
More information about the bind-users
mailing list