How to resolve a domain with no host name i.e. msnbc.com instead of www.msnbc.com
David Kirk
david at kirks.org
Fri Aug 17 03:08:50 UTC 2001
You want to set an A record up for your domain name. Using the
bad example of mydomain.com (why not tell us what the domain
is?), you would do the following ...
[assume properly formatted SOA and NS records here]
IN A 10.1.1.2
www IN CNAME mydomain.com.
That way, whether you type www.mydomain.com or mydomain.com,
you'll hit the same machine. This assumes that the web server is
configured to answer for both, but the above should work, based
on the question I think you are asking.
Wayne Willson wrote:
> I'm trying to get my domain to resolve to mydomain.com instead of
> having to type www.mydomain.com. I don't have a clue how to make this
> work.
>
> I'm running bind ver. 8.2.3 on Linux.
>
> Thanks in advance,
>
> Wayne
More information about the bind-users
mailing list