Re: dns gurus?


Subject: Re: dns gurus?
From: Craig Callender (craigc@corith.com)
Date: Mon Mar 18 2002 - 15:43:18 AKST


Food for thought. Don't point a CNAME to another CNAME, it's against the
RFC.

-- Craig C.

On Mon, 18 Mar 2002, That Guy Josh wrote:

Date: Mon, 18 Mar 2002 13:34:49 -0900 (AKST)
From: That Guy Josh <augustus@acerbic.org>
To: jsaam@mcc-cpa.com
Cc: aklug@aklug.org
Subject: Re: dns gurus?

Not sure about using bindconf, but I can show you an example zone file
that is doing everything you are asking, I think.

This is the zone file for my internal network, penguin.land :

; Penguin.land internal, fake domain for local DNS
$TTL 3D
@ IN SOA ns.penguin.land. root.penguin.land. (
                        2002010102 ; serial, todays date + todays serial #
                        8H ; refresh, seconds
                        2H ; retry, seconds
                        4W ; expire, seconds
                        1D ) ; minimum, seconds

                NS ns ; Inet Address of name server
                MX 10 mail.penguin.land ; Primary Mail Exchanger

localhost A 127.0.0.1
ns A 192.168.0.4
mail A 192.168.0.1
discworld A 192.168.0.1
pointless A 192.168.0.2
midget A 192.168.0.14
mp3box A 192.168.0.3
freebsd A 198.78.70.185
test A 192.168.0.5
bollocks CNAME ns

As you can see above you can either use multiple A records for pointers to
the same machine or a CNAME (cannonical name, basically points to the
"real" name of the machine) There are positives and negatives to using
CNAME's I won't go into here. Also see the DNS howto on the LDP
(http://www.aklug.org/LDP/HOWTO/DNS-HOWTO.html) for more details on what
all this mumbo-jumbo means.

-Josh

On Mon, 18 Mar 2002 jsaam@mcc-cpa.com wrote:

> Question for you DNS buffs out there..
>
> Using the Bindconf utility, what is the proper way to configure an
> Authoritive record for a domain (lets say domain.com) -- and also have
> pointers (which actually point to the same machine.. for now) that go to
> ftp.domain.com <ftp://ftp.domain.com> , mail.domain.com, and www.domain.com
> <http://www.domain.com> ---
>
> I may have done this incorrectly in that I added host records (as apposed to
> alias) for each of those..
>
> Also, do I HAVE to setup a recursive lookup (arpa) for my domain to work
> correctly (ie: send/recv email)
>
> any help appreciated
>
> Jon
>
>
>
>

"The Americans, who are the most efficient people on earth...have invented
so wide a range of pithy and hackneyed phrases that they can carry on an
amusing and animated converstation without giving a moments reflection
to what they are saying and so leave their minds free to consider the more
important matters of big business and fornication."
- W. Somerset Maugham

Josh Burroughs
augustus@acerbic.org
http://www.acerbic.org

        In the beginning there was data. The data was without form and
null, and darkness was upon the face of the console; and the Spirit of
IBM was moving over the face of the market. And DEC said, "Let there
be registers"; and there were registers. And DEC saw that they
carried; and DEC separated the data from the instructions. DEC called
the data Stack, and the instructions they called Code. And there was
evening and there was morning, one interrupt.
                -- Rico Tudor, "The Story of Creation or, The Myth of Urk"



This archive was generated by hypermail 2a23 : Mon Mar 18 2002 - 15:43:33 AKST