my own domain and DNS

Tim M. Sanders tsanders@mvista.com
Fri, 11 Aug 2000 12:11:02 -0700


Brian, thanks for the replay.  I did fix that.

But I still can not get my ftp, www, mail items into the global DNS.  Is it correct to use the CNAME option or do I dust need to do add
the following in my domain file:

ftp IN A <IP address>

Will that make it so I can do ftp ftp.thesanders.org.

One more question for you since you know what you are doing.  I have done a ping ftp.thesanders.org  and I get a reply that is not my
IP address.  So I do an nslookup on ftp.thesanders.org and I get:

Non-authoritative answer:
Name:    sd2.mailbank.com
Address:  208.49.167.82
Aliases:  ftp.thesanders.org, ns1.thesanders.com

That is not my IP address.  It appears that someone has been using ftp.thesanders.org as an alias without owning the domain name.  When
I get my DNS correct will this be replaced by mine.  I did my registration via doster.com.



Brian Cluff wrote:



> You have a dot at the end of "thesanders.org" in you named.conf file.  That
> should be the major thing that is making it not work :
> zone "thesanders.org."{ <-- no period at end of org
>         type master;
>         file "thesanders.org";
>         notify yes;
> };
>  As for time it takes to get working once you have it in your DNS.  It
> depends on if you moved the domain to your box from someone elses or if you
> just bought the domain and your machine ifs the first one to ever host that
> domain.  In the latter case, everything will start working and be correct
> from the very first day that you host the domain.  In the case of moving a
> domain it depends on a couple of things, if the party looking up your domain
> before or not, and the time that you have your dns cache set to.  If
> someone's dns has never looked up your domain before, you are all set, all
> new queries will go to your new dns location.  If they have looked you up,
> you will have to wait for the amount of time you have set for them to cache
> they data before the new dns requests will go to your new dns location, it
> could be hours, days, weeks , or even months.  One trick that I try to do is
> sent the DNS cache down to just a few minutes before I move it.  That way
> most people's dns will time out relativly quickly and they will get your new
> dns.  These days there are people like @home that have a hard coded minimum
> cache time, so even if you have jumped though all the hoops to make sure
> that you have a smooth DNS transfer, you end up haveing to wait a couple of
> weeks until their DNS decides for itself that it would be ok to get rid of
> it horribly outdated DNS info.
>
> Brian Cluff
> (Any imperfections in the above should be are a sign of its hand crafted
> nature and only add character to the message)
> ----- Original Message -----
> > 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
>
> ________________________________________________
> 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

--
-
============================
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