On 11/05/05, Claudinei Matos <[EMAIL PROTECTED]> wrote:
> I saw that I can't specify to ns1 the same ip of web01 'cause it's
> identied like a CNAME in any way.
> Well, I've changed my zone file and know I have this one:
> 
> #-------------------------------
> $TTL 1W
> @       IN      SOA     web01.hospedevip.com.br. root.hospedevip.com.br. (
>                                        2005051121   ;serial
>                                        28800        ;refresh
>                                        14400        ;retry
>                                        3600000      ;expire
>                                        86400 )      ;minimum
> hospedevip.com.br.      IN      A       200.155.21.212
> @       IN      NS      web01.hospedevip.com.br.
> @       IN      NS      ns1.datacenter1.com.br.
> @       IN      NS      ns2.datacenter1.com.br.
> @       IN      NS      ns3.datacenter1.com.br.
> ...
> web01   IN      A       200.155.21.212
> ...
> www     IN      CNAME   web01
> ...
> -------------------------------#
> 
> Is that right? Or I've to specify the other 3 dns servers (at
> datacenter) like the follow lines:
> @       IN      NS      ns1
> @       IN      NS      ns2
> @       IN      NS      ns3
> ns1     IN      A         200.X.X.X
> ns2     IN      A         200.X.X.X
> ns3     IN      A         200.X.X.X
> 
> Tks in advice,
> 
> Claudinei Matos

Your SOA name server should be your master dns server, which in your
case I believe, ns1.hospedevip.com.br.

Do you have duplicate entries for ns1? like

ns1 IN A some.ip.addr
ns1 CNAME some.host.name.

if so correct that.

Let my just briefly explain what you need to do, you might have been
done all of these, but I just want to make absolutely sure:

1. If you wish to run your own dns servers, you must first tell your
domain registrar to update their record, to point their NS records to
your servers.

2. You then need to set up authoritative servers, each name server
must have its own A record, e.g.:

@ IN NS ns1
@ IN NS ns2
ns1 IN A ip.add.1
ns2 IN A ip.add.2

3. The ip addresses used for ns servers can have other A records, and
hence CNAME/SRV records associated with them with no problem, e.g:

@ IN NS ns1
@ IN NS ns2
ns1 IN A ip.add.1
ns2 IN A ip.add.2
ftp IN A ip.add.1
www CNAME ns1.

the above is correct and allowed.

The above should get you going, try cut down the number of hosts
first, when you are confident that your DNS is set up correctly, you
can then add more hosts in.

Hope all that helps.

-- Joe

-- 
Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list

Reply via email to