not typing in www
Sebastian Castro Avila
secastro at nic.cl
Thu Jun 23 18:40:26 UTC 2005
On Thu, 23 Jun 2005 09:51:22 -0400, scedarst <dbickel at infranetgroup.com>
wrote:
> Could anyone tell me what entry i need to put in my dns so my users
> dont have to type www? They want to type http://site.com instead of
> http://www.site.com
>
In the same way you define an A record for "www", you must define an A
record for "site.com".
Your zone should look like
@ IN SOA ( <soa params> )
IN NS ns1.site.com.
IN NS ns2.site.com.
IN MX <prio> mail.site.com.
and here you add
IN A <ip.address>
After checking the zone using named-checkzone, reload it (with rndc reload
zonename) and check using dig (dig A site.com @your.server).
Regards
--
Sebastian E. Castro Avila sebastian at nic.cl
Administrador de DNS, NIC Chile
Fono: (2) 9407705 Fax : (2) 9407701
More information about the bind-users
mailing list