try:
# start of file
$ORIGIN org.
thesanders 86400 IN SOA ns1.thesanders.org.
hostmaster.thesanders.org. (
2000080705 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
86400 IN MX 5 mail.thesanders.org.
86400 IN NS ns1.thesanders.org.
86400 IN NS ns1.granitecanyon.com.
86400 IN A 63.227.248.168
$ORIGIN thesanders.org.
ns1 86400 IN A 63.227.248.168
mail 86400 IN CNAME ns1.thesanders.com.
www 86400 IN CNAME ns1.thesanders.com.
ftp 86400 IN CNAME ns1.thesanders.com.
# end of file
Michael J. Sheldon
http://www.desertraven.com/
Make a fast friend, adopt a greyhound!
-----Original Message-----
From:
plug-discuss-admin@lists.PLUG.phoenix.az.us
[
mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Tim M.
Sanders
Sent: Friday, August 11, 2000 10:26
To: PLUG
Subject: my own domain and DNS
Sorry for the long email, but I am struggling and wanted to make sure
I gave all the info that I had. Thanks in advance.
I run Mandrake 7.0 and BIND 8.2.2
I have recently go my own domain, thesanders.org. I am going to be my
master DNS server, with ns1.granitecanyon.com being my secondary. I
want to let the DNS tables see the following:
thesanders.org
www.thesanders.org
ftp.thesanders.org
mail.thesanders.org
all resolving to my IP address.
I copied a friend of mine who basically does the same thing. However
mine does not seem to be working correctly. See my named.conf and
thesanders.org zone file below. Also, how long does it take to get
informatin into the "world" DNS tables? I have seen answers from 3 days
upto weeks. Just curious.
Also is there a way I can get my secondary updated as soon as I update
my primary? notify option? create a secondary entry?
Files
============================================================================
=======
# zone file (in /var/named)
@ IN SOA thesanders.org.
hostmaster.thesanders.org. (
2000080705 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
IN MX 5 mail.thesanders.org.
IN NS ns1.thesanders.org.
IN NS ns1.granitecanyon.com.
@ IN A 63.227.248.168
ns1 IN A 63.227.248.168
mail IN CNAME ns1.thesanders.com.
www IN CNAME ns1.thesanders.com.
ftp IN CNAME ns1.thesanders.com.
# named.conf file in /etc
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "localhost"{
type master;
file "named.local";
};
zone "thesanders.org."{
type master;
file "thesanders.org";
notify yes;
};
zone "0.0.127.IN-ADDR.ARPA"{
type master;
file "127.0.0";
notify no;
};
--
-
============================
Tim M. Sanders
MontaVista Software
2141 E. Broadway Rd,. Suite 108
Tempe, AZ 85282
http://www.mvista.com
tsanders@mvista.com
(480) 517-5032 (office)
(480) 221-3472 (cell)
MontaVista Software
The Embedded Linux Experts
________________________________________________
See
http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.
Plug-discuss mailing list -
Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss