my own domain and DNS

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
Subject: my own domain and DNS
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
>
>
> (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 -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss