Hello!
I've set up a DNS server on my lan before but never on the Internet. I didn't
thought there would be a big difference but for the life of my I can't get it
to work. I'm hoping that if I run the symptoms by you folks maybe someone can
help. Here's the situation.
I used the same named.conf and zone files that I used on the LAN (this is bind8,
of course) with only some minor changes in the IPs used and so forth. And yet,
when I'm connected to the internet and try to do an nslookup on one of the
sites I want to be hosting for, I get :
*** Can't find server name for address 208.196.56.22: Server failed
208.196.56.22 is indeed my IP and when I do an nslookup using my ISP's
nameserver (this nameserver will be colocated there so it is actualy a host on
a different domain from the domain that it resolves for) it works fine. Someone
suggested I make an in-addr.arpa entry for it and I did but to no avail. There
are no syntax complaints when I start the server up but if I try to nslookup my
nameserver's IP I get:
named[1551]: No root nameservers for class IN
named[1551]: sysquery: findns error (SERVFAIL) on gallifrey.internet-frontier.net?
No root nameservers for class IN? I didn't know that was something I needed to
define. In fact, I was pretty sure those were somebody else's department! =:)
Oh, and gallifrey, for the record, is the fqdn of my nameserver.
If anybody can help me figure out what's going on I'd really appreciate it. If
it helps, this is what I've got in th relevant files:
--REVERSE.LOCAL (in-addr.arpa file)--
@ IN SOA 22.56.196.208.IN-ADDR.ARPA. ubergeek.kungfoo.org.
(
1998123100 ;serial (yymmdd##)
10800 ;refresh (3 hours)
3600 ;retry (1 hour)
3600000 ;expire (41 days 16 hours)
86400 ;minimum (1 day)
)
;
IN NS gallifrey.internet-frontier.net.
IN NS adm.internet-frontier.net.
IN PTR gallifrey.internet-frontier.net.
--KUNGFOO.ORG (zonefile for this domain)--
@ IN SOA internet-frontier.net. admin.kungfoo.org.
(
1228981 ; Serial number
100000 ; Refresh every 100,000 seconds
3600 ; Retry every hour
1728000 ; Expire every 20 days
172800 ); Minimum 2 days
;
IN NS gallifrey.internet-frontier.net.
IN MX 5 afflicted.kungfoo.org.
localhost IN A 127.0.0.1
kungfoo.org. IN A 208.196.56.16
afflicted IN CNAME kungfoo.org.
www IN CNAME kungfoo.org.
--NAMED.CONF--
options {
directory "/etc/network"; // main path
named-xfer "/usr/sbin/named-xfer"; // what prog to use for xfer
dump-file "/var/log/named_dump.db"; // where to dump on SIGHUP
pid-file "/var/run/named.pid"; // pid file
statistics-file "named.stats"; // writes stats on SIGHUP
// check-names master fail; // fail if master errs
check-names slave warn; // warn if secondary errs
check-names response ignore; // ignore query errs
datasize default; // use OS
stacksize default; // use OS
coresize default; // use OS
files unlimited; // as many as needed
recursion yes; // complete a request
fetch-glue yes; // use no with recursion no
fake-iquery no; // iquery is obsolete
notify yes; // send NOTIFY msgs to others
auth-nxdomain yes; // always set AA on NX (old compat)
multiple-cnames no; // not standard to have mults
allow-transfer { any; };
transfers-in 10; // DEFAULT_XFERS_RUNNING, cannot be
// set > than MAX_XFERS_RUNNING (20)
transfers-per-ns 2; // DEFAULT_XFERS_PER_NS
transfers-out 0; // not implemented
max-transfer-time-in 120; // MAX_XFER_TIME; in minutes
transfer-format one-answer; // backwards compat
query-source address 208.196.56.22 port *; // ??
forward first;
forwarders {
208.196.56.2;
};
topology { localhost; localnets; }; // prefer local nameservers
// topology { localnets; localhost;}; // prefer nonlocal nameservers
listen-on port 53 { 208.196.56.22; };
cleaning-interval 60; // clean the cache of expired RRs
interface-interval 60; // scan for new or deleted interfaces
statistics-interval 60; // log statistics
}; // end options
zone "22.56.196.208.in-addr.arpa" in {
type master;
file "reverse.local";
};
zone "kungfoo.org" in {
type master; // what used to be called "primary"
file "kungfoo.org";
};
------------------------
Thanks in advance to anybody who can help. This has been really frustrating and
any relief will be greatly appreciated.
--
Brad Smith, Walnut Creek, Ca.
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
It's not safe out there-- it's wonderous! Full of things to satiate
desires grand and subtle... But it is not for the timid. --Q.
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]