cahe-only DNS in jail
Matt
mhersant at comcast.net
Wed Feb 2 00:44:37 PST 2005
I'm experiencing strange behaviour with Bind running inside a jail. I'm
running 5.2.1 current in the jail. Thinks are working, but poorly.
Lookups for my local machines work perfectly. Some remote lookups work
fine (yahoo, google, etc...). However, many lookups time out, but will
succeed after a few tries. I'm doing all this from home (comcast cable
internet). Anyway, I'm not sure what to do. Sniffing the network
doesn't seem to help much. Queries and requests are reaching the right
hosts and ports. Thanks for any help.
dnshost# uname -a
FreeBSD dnshost 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23
20:45:55 GMT 2004
root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
dnshost# named -v
named 8.3.7-REL Sun Jan 2 13:17:40 PST 2005
root at tmodel.my.domain:/usr/obj/usr/src/usr.sbin/named
dnshost# nslookup www.washington.edu
Server: localhost
Address: 127.0.0.1
*** localhost can't find www.washington.edu: Server failed
dnshost# !!
nslookup www.washington.edu
Server: localhost
Address: 127.0.0.1
Non-authoritative answer:
Name: www.washington.edu
Addresses: 140.142.15.233, 140.142.3.7, 140.142.3.35, 140.142.15.163
dnshost# !!
nslookup www.usenix.org
Server: localhost
Address: 127.0.0.1
Non-authoritative answer:
Name: db.usenix.org
Address: 131.106.3.253
Aliases: www.usenix.org
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
};
zone "." {
type hint;
file "tables/named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "tables/db.localhost";
};
zone "hersant.dyndns.org" {
type master;
file "tables/db.hersant.dyndns.org";
};
zone "2.168.192.in-addr.arpa" {
type master;
file "tables/db.2.168.192.in-addr.arpa";
};
More information about the freebsd-hackers
mailing list