what is the diference?
Chris Buxton
cbuxton at menandmice.com
Thu May 31 13:17:34 UTC 2001
At 4:00 PM +0300 5/31/01, vex wrote:
>what exactly are the diference in:
>--
>hostname1 IN A 1.1.1.1
>hostname2 IN A 1.1.1.1
>--
>and
>--
>hostname1 IN A 1.1.1.1
>hostname2 IN CNAME hostname1
>--
>
>what is the right way to do this, with A or CNAME?
The effective difference is nil, assuming you have no other records
(of any type) named hostname1 or hostname2.
A CNAME record can't have the same name as any other record. There
are other restrictions on CNAME records, as well.
The alias created by a CNAME record gets all properties of the
original (or canonical) name. This means that the alias is assigned
all A, MX, HINFO, or other records of the original - even NS records,
if applicable, though this result is ignored.
>or in this:
>
>--
>hostname1 IN A 1.1.1.1
>--
>and
>--
>hostname1 A 1.1.1.1
>--
>
>what mean IN in this?
IN stands for Internet. Every record has a name, a TTL, a class, a
type, and a data section; some of these can be omitted in certain
circumstances. The default record class is IN, so unless you're
mixing in some other class, IN can always be omitted.
____________________________________________________________________
Chris Buxton <cbuxton at menandmice.com>
Men & Mice <http://www.menandmice.com/> provides:
- DNS training, including Active Directory
- QuickDNS, a DNS management system for servers on Linux & Mac OS
(Solaris support coming soon!)
- DNS Expert, a DNS analysis and troubleshooting utility
____________________________________________________________________
More information about the bind-users
mailing list