my own domain and DNS

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: BrianCluffbrian@snaptek.com
Date:  
Subject: my own domain and DNS
It appears that you are pulling DNS info from someone elses DNS.
I would add your DNS as the first nameserver line in /etc/resolv.conf so
that you query your DNS first, since it will be the most correct one in your
case.
If you do an NS lookup while using someone elses DNS it will possibly show
you whats in their cache, and once its in their cache it wont be changing
for a while, so none of your update would ever show up. You DNS might
actually be working and you wouldn't even know it.
As for changing your stuff from CNAME to A records, I would say, go for it.
it doesn't looks like you have such a large DNS config that it really ever
gonna be messy if you don't use CNAMEs, plus I have run into a few cases
that cname behavior didn't work quite right.

One real quick thing, I just looked at the whois info on your domain name.
Did they ask you for an IP address for your primary and secondary name
servers, if not, you have a chicken and egg problem. They wont be able to
get the IP address of your primary DNS (ns1.thesanders.org) because they
dont know where your dns is already. They will end up going to your
secondary DNS (ns1.granitecanyon.com) and it doesn't appear to be offering
secondary services for your domain at this time. I would recommend that
your primary DNS name be changed to a name and some other dns name points
to, other than the one that you are trying to setup.... Either that or
change it to the IP address of your DNS if they will let you.

OK... thats about all I can think of right now.... brain getting foggy...
must have lazagna...

Brian Cluff

----- Original Message -----
> 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
> > >
> > >
> > > (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
> >
> > ________________________________________________
> > 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
>
> --
> -
> ============================
> 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