dns configuration, please help! (fwd)
Bob Vance
bobvance at alumni.caltech.edu
Sun Sep 24 20:37:39 UTC 2000
>I am not sure if my ISP will be a secondary for me or not,
If not, get a new ISP.
I would change the serial numbers back to the way you had them, unless
you're gonna do dynamic updates and more than 100 per day.
In the file 216.254.20.117:
> IN NS ns.lrxms.net. ;name server
>117 IN A n3byy.lrxms.net.
This should be a "PTR" RR , not an "A" RR.
And, I still don't see an "A" RR for n3byy.lrxms.net.
In your local reverse zone,
> IN NS localhost. ; init address of name server
the nameserver should be
IN NS ns.lrxms.net. ;name server
like in the other zones, although I'm no sure whether it would matter.
-------------------------------------------------
Tks | <mailto:Bob_Vance at sbm.com>
BV | <mailto:bobvance at alumni.caltech.edu>
Sr. Technical Consultant, SBM, A Gates/Arrow Co.
Vox 770-623-3430 11455 Lakefield Dr.
Fax 770-623-3429 Duluth, GA 30097-1511
=================================================
-----Original Message-----
From: Scott Howell [mailto:showell at n3byy.yi.org]
Sent: Sunday, September 24, 2000 11:26 AM
To: Bob Vance
Subject: RE: dns configuration, please help! (fwd)
Bob, your correct I had some errors so I did this.
Here is the named.conf file as is now.
# // Config file for caching only name server
options {
directory "/var/named";
check-name master warn;
query-source port 53;
;
zone "." {
type hint;
file "db.cache";
};
zone "0.0.127.in-addr.arpa"
type master;
file "pz/local";
};
zone "lrxms.net" {
notify no;
type master;
file "pz/lrxms";
};
zone "20.254.216.in-addr.arpa" {
notify no;
type master;
file "pz/216.254.20.117";
};
Here is the local file:
; local file for lrxms.net
;
@ SOA localhost. hostmaster.localhost. (
1 ; serial,today's date + today's serial
8H ;;refresh 8 hours
2H ; retry 2 hour
1W ; expire 1 week
1D ) ;minimum TTL 1 day
;
IN NS localhost. ; init address of name server
1 IN PTR localhost.
Here is the file lrxms:
;zone for lrxms.net
;
@ IN SOA ns.lrxms.net. hostmaster.lrxms.net. (
1 ; Serial
8H ; Refresh after 8 hours
2H ; Retry 2 hour
1W ; Expire after 1 week
1D ) ; Minimum TTL of 1 day
IN NS ns.lrxms.net.
;
localhost IN A 127.0.0.1
ns IN A 216.254.20.117
mail IN a 216.254.20.117
pop IN A 216.254.20.117
ftp IN A 216.254.20.117
www IN A 216.254.20.117
;
; aliases
;
;wh.lrxms.net. IN CNAME lrxms.net.
;wh216.lrxms.net. IN A lrxms.net.
;
lrxms.net. IN MX 10 lrxms.net.
lrxms.net. IN MX 20 lrxms.net.
lastly the file 216.254.20.117:
; db file for 216.254.20.117
;
@ IN SOA ns.lrxms.net. hostmaster.lrxms.net. (
1 ; serial,today's date + today's serial
8H ; refresh 8 hours
2H ; retry 2 hour
1W ; expire 1 week
1D ) ;minimum TTL 1 day
;
IN NS ns.lrxms.net. ;name server
117 IN A n3byy.lrxms.net.
I got only two errors, but can't figure how these are showing up.
\
Sep 24 11:17:50 n3byy named[350]: starting. named 8.2.2-P5 Sat Nov 27
13:52:39
CST 1999 ^Iroot at blackhole:/tmp/bind-8.2.2-P5/src/bin/named
Sep 24 11:17:50 n3byy named[350]: master zone
"0.0.127.in-addr.arpa" (IN) loaded (serial 1)
Sep 24 11:17:50 n3byy named[350]: master zone "lrxms.net" (IN) loaded
(serial 1)Sep 24 11:17:50 n3byy named[350]: pz/216.254.20.117:11: IP
Address error near (n3byy.lrxms.net.)
Sep 24 11:17:50 n3byy named[350]: listening on [127.0.0.1].53 (lo)
Sep 24 11:17:50 n3byy named[350]: listening on [216.254.20.117].53
(eth0)
Sep 24 11:17:50 n3byy named[350]: listening on [192.168.1.1].53 (eth1)
Sep 24 11:17:50 n3byy named[350]: Forwarding source address is
[0.0.0.0].53
Sep 24 11:17:50 n3byy named[351]: Ready to answer queries.
Sep 24 11:17:50 n3byy named[351]: sysquery: nlookup error on ?
THis is a better start in any case. I think if I can get around this
problem, I'll be on my way.
I really appreciate your help. I've just kept plugging along and fixed
things as I went. I now understand you don't have to have a box named ns
or whatever, but I was getting conflicting information on this.
SOmeone said you did and some said not so I'll accept your word on this
issue. You seem to know exactly what your doing and I know when to defer
to an expert.
Btw, one thing I need to resolve and I have to finish reading your msg,
but I must go back and correct the info with registerfree.com.
They want a primary and secondary name server. However, I only have one
and I was told that you can not use ns.lrxms.net as both. I am not sure
if
my ISP will be a secondary for me or not, but will check.
How best to get around this problem. I've already screwed up the info so
have to go back and fix it then I'll finally get to nsi.com and register
the host.
tnx again for your help Bob.
More information about the bind-users
mailing list