resolving without a host ?

Bob Vance bobvance at alumni.caltech.edu
Fri Sep 29 12:30:28 UTC 2000


Basically, in the zone file, have

$TTL ...
@    IN    SOA .......
@    IN    NS   aaaa....
@    IN    NS   bbb....
@    IN    A    1.2.3.4
www  IN    A    1.2.3.4

The "@" gets substituted by the zone origin, and, thus, the "A"
record for it (line 5) gives your base domain name an IP address.

This is assuming that you want
    dom.com
to resolve to the same place as
    www.dom.com
which is most often the case.

Note that

@    IN    SOA .......
     IN    NS   aaaa....
     IN    NS   bbb....
     IN    A    1.2.3.4
www  IN    A    1.2.3.4

would also have worked, because, when the first field is blank, then the
name from the previous line gets substituted.


-------------------------------------------------
Tks        | <mailto:Bob_Vance at sbm.com>
BV         | <mailto:bobvance at alumni.caltech.edu>
Sr. Technical Consultant,  SBM, A Gates/Arrow Co.
Vox 770-623-3430           11455 Lakefield Dr.
Fax 770-623-3429           Duluth, GA 30097-1511
=================================================





-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Thomas von Hassel
Sent: Friday, September 29, 2000 6:35 AM
To: bind-users at isc.org
Subject: resolving without a host ?




This might be a bit of topic, but how to u get 2.nd level domain to
point
directly to a IP.

like: htp:://domain.com

i heard its a DNS issue but how du i do it in bind ?

/re

thomas







More information about the bind-users mailing list