how to allow domain.com as well as www.domain.com ?
John Navas
jnavas at aimnet.com
Wed Jun 16 15:46:21 UTC 1999
[POSTED TO comp.protocols.dns.bind]
Mark.Kasper at icn.siemens.com wrote:
>I have been following this thread with interest, trying the suggestions as they
>are presented. It seems we are back to square one. nslookup for domain.com with
>the following configuration results in "hostname.domain.com can't find
>domain.com : Server failed"
>
>hostname.domain.com. IN A <IP Address>
>www.domain.com. IN CNAME hostname.domain.com.
>domain.com. IN CNAME <IP address> (as suggested below)
>
>Cricket, did you mean something else?
PMJI, but here's a model of a simple domain that I setup (on a DSL account)
that's working fine (e.g., you can connect to both <http://fakedomain.comm/>
and <http://www.fakedomain.comm/>):
>nslookup
....
>ls -d fakedomain.comm
....
fakedomain.comm. SOA adsl-999-999-999-999.telco.nett joeuser.fakedomain.comm. (17 10800 3600 604800 86400)
fakedomain.comm. A 999.999.999.999
fakedomain.comm. NS adsl-999-999-999-999.telco.nett
fakedomain.comm. NS ns1.secondary.comm
fakedomain.comm. NS ns2.secondary.comm
fakedomain.comm. MX 0 fakedomain.comm
* MX 0 fakedomain.comm
ftp CNAME fakedomain.comm
mail CNAME fakedomain.comm
pop CNAME fakedomain.comm
www CNAME fakedomain.comm
fakedomain.comm. SOA adsl-999-999-999-999.telco.nett joeuser.fakedomain.comm. (17 10800 3600 604800 86400)
--
Best regards,
John mailto:jnavas at aimnet.com http://www.aimnet.com/~jnavas/
More information about the bind-users
mailing list