Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

www.domain.com vs. domain.com

0 views
Skip to first unread message

Joseph Lazzaro

unread,
Jun 12, 2000, 3:00:00 AM6/12/00
to
How can I set up bind v.8 to answer dns lookups for domain.com in
addition to www.domain.com? Using nslookup, I can see that most sites
have this configured, but a lookup on my domain fails to find any
host.

Any help appreciated!

---------------------
Joseph Lazzaro
jlazzKIL...@earthlink.net


Scott.Wiseman

unread,
Jun 12, 2000, 3:00:00 AM6/12/00
to

sol...@saint-etienne.no

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
From: "=?iso-8859-1?q?P=E5l?= Sollie" <sol...@saint-etienne.no>
Date: 13 Jun 2000 11:35:32 +0200
In-Reply-To: Joseph Lazzaro's message of "Mon, 12 Jun 2000 15:49:54 -0700"
Message-ID: <m3u2exs...@rancid.apocalypse.no>
Lines: 16
User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Canyonlands)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Joseph Lazzaro <jlazzKIL...@earthlink.net> writes:

> How can I set up bind v.8 to answer dns lookups for domain.com in
> addition to www.domain.com? Using nslookup, I can see that most
> sites have this configured, but a lookup on my domain fails to find
> any host.

domain.com. IN A 10.0.0.1
www IN CNAME domain.com.

That's one way.

--
Pål Sollie
spa...@ikke.no
sol...@bitemyshinymetalass.com


Ramon Alvarez Rayo

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
Hello,

I have two servers:

My dns and mailserver what respond to mydomain.com and the other one is my=
=20
web server what respond to www.mydomain.com, my question is:

how can i setup to respond http querys with http://www.mydomain.com and=20
http://mydomain.com ?

Actually i have in my tables:

mydomain.com IN A x..x.x.x
webserver IN A x.x.x.other

www IN CNAME webserver

this not work.

What should i do ?

Saludos Fraternos,

**********************************************************************
Ram=F3n Alvarez Rayo Telefono: (505)2783131 x 2311
Administrador de Sistemas Telefax : (505) 2784012
Telematix e-mail: ralv...@tmx.com.ni
***********************************************************************

Barry Margolin

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
In article <4.3.0.20000613...@tmx.com.ni>,

Ramon Alvarez Rayo <ralv...@tmx.com.ni> wrote:
>Hello,
>
>I have two servers:
>
>My dns and mailserver what respond to mydomain.com and the other one is my=
>=20
>web server what respond to www.mydomain.com, my question is:
>
>how can i setup to respond http querys with http://www.mydomain.com and=20
>http://mydomain.com ?
>
>Actually i have in my tables:
>
>mydomain.com IN A x..x.x.x
>webserver IN A x.x.x.other
>
>www IN CNAME webserver
>
>this not work.
>
>What should i do ?

mydomain.com. IN A x.x.x.other
IN MX 10 mail
mail IN A x.x.x.x
webserver IN CNAME mydomain.com.
www IN CNAME mydomain.com.

--
Barry Margolin, bar...@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


Pål Sollie

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
hilgart <hil...@my-deja.com> writes:

> You can put in your zone file: domain.com. IN A IP_ADDRESS

> We use this feature.

> It would be nice if you could define "domain.com" it as an alias,
> for instance to www.domain.com, but you cannot in my understanding.

You can't?
Isn't this a valid config:
www IN A ip_addr
domain.com. IN CNAME www

Didn't test this, but it seems logical (or maybe I just need to sleep)

Joseph Lazzaro

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
It didn't work as an alias, but it did work as a real address. I guess
that was my problem all along.

Thanks everyone!

-Joe

On 13 Jun 2000 10:28:39 -0700, "Pål Sollie" <sol...@saint-etienne.no>
wrote:

>hilgart <hil...@my-deja.com> writes:
>
>> You can put in your zone file: domain.com. IN A IP_ADDRESS
>
>> We use this feature.
>
>> It would be nice if you could define "domain.com" it as an alias,
>> for instance to www.domain.com, but you cannot in my understanding.
>
>You can't?
>Isn't this a valid config:
>www IN A ip_addr
>domain.com. IN CNAME www
>
>Didn't test this, but it seems logical (or maybe I just need to sleep)


---------------------
Joseph Lazzaro
jlazzKIL...@earthlink.net


Pål Sollie

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
Barry Margolin <bar...@genuity.net> writes:

> Go back to sleep, it violates the "CNAME and other data"
> restriction. You have to do the A and CNAME records in the other
> order, like in my response.

Of course. I must have been in Brainsaver-mode :)

0 new messages