Zone Config: How do i loose the 'www' ?
Julião Braga - Rede Pegasus®
jb at redepegasus.com.br
Sun Dec 29 20:59:05 UTC 2002
I suppose, on simple explain:
@ IN SOA yourprimarynameserverdomain.
support.yourdomain. (
2002071301 3600 3600 1814400 172800 )
;
IN NS nameserver1domain.
; maybe your primarynameserverdomain
IN NS nameserver2domain.
;
IN A yourdomain IP
; because this zone is your domain zone
mailserver1 IN A yourmailserver1 IP
IN MX 10 mailserver1.yourdomain.
mailserver2 IN A yourmailserver2 IP
;if you need or want
IN MX 20 mailserver2.yourdomain
;if you need or want
;
www IN CNAME yourdomain..
And:
1. Look the "."´s
2. support.yourdomain = support at yourdomain.
3. yourprimarynameserverdomain, nameserver1domain and nameserver2domain must
have the respective A RR´s.
JB
---
Pegasus Network
http://www.redepegasus.com.br
http://www.arpegasus.org.br
http://mcw.redepegasus.com.br
----- Original Message -----
From: "didders" <di at der.com>
Newsgroups: comp.protocols.dns.bind
To: <comp-protocols-dns-bind at isc.org>
Sent: Sunday, December 29, 2002 09:37
Subject: Zone Config: How do i loose the 'www' ?
>
> Hi guys, I am new to this news group so be gentle :)
>
> I am trying to access my website by typing in the URL into my browser
> WITHOUT the 'www.'.
>
> My zone file looks like this -
>
> <domain>. IN SOA <nameserver>. <dnsmailaddress>. (
> 2002071301 3600 3600 1814400 172800 )
> ;
> IN NS <nameserver>.
> IN NS <nameserver>.
> ;
> IN MX 10 <mailserver>.
> IN MX 20 <mailserver>.
> ;
> mail IN CNAME <mailserver>.
> www IN CNAME <webserver>.
>
>
>
> I have tried adding this -
>
> IN CNAME <webserver>.
>
> but i am getting errors (due to there being two CNAMES to the same
address).
>
> I have a suspicion that it is only possible to do this using an Aname
> and not a CNAME as I am trying to do, if anyone could give me some info
> i would appriecate it.
>
> TIA :)
>
>
More information about the bind-users
mailing list