DNS pointing to domain without www.?

Robert Mortimer robm at bob.bofh.org
Wed Jul 28 10:07:16 UTC 1999


allegedly Joseph S D Yao wrote <199907212021.QAA02513 at fw1-b.osis.gov> :
>> I am running bind (not the latest) on a Linux (Slackware) box for
>> my primary DNS for my 40 domains.
>> I have IN A lines pointing "www" to the IP address. The question is,
>> how do I have browsers find the web site if the person does not
>> type www.cashkey.com (for example) and just puts in cashkey.com (?)
>I don't understand why people want to do this.  This must be the
>dozenth person who's asked this in the last week - which is why the
>discussion hasn't made it to the archives yet.
>In zone.cashkey.com:
>@	IN A	IP.ad.dr.ess
>www	IN CNAME	cashkey.com.

Why bother doing this? As most/all browsers these days will assume
wwww. if they can't find the host without it.
Netscape,IE and lynx all do this, after all they'll try adding the
.com if you don't specify that. For most browsers just typing in:
cashkey
will work as well as cashkey.com or www.cashkey.com

/* of course in lynx you can specify what it tries to add to 
complete a non-findable url */
-- 
Robm
873
  "Ask not what I can do for the stupid, 
         but what the stupid can do for me" - Graeme Garden


More information about the bind-users mailing list