Web Hosting Talk







View Full Version : Point DNS to Domain name.


nEMESIS4
01-07-2002, 03:52 PM
Is it possible to point a DNS record to a domain name rather than an IP? When I try pointing it to the domain name it doesn't come up. But when I point it to the IP it works.

Is there a way to get it to work with the domain name?

thewitt
01-07-2002, 04:19 PM
Try everydns.net and use their URL redirection configuration.

-t

Chicken
01-07-2002, 08:00 PM
Well, normally you set up CNAME RECORDS for this, though I've never tried ti directly on a RaQ (issues with this)?

domainname.com CNAME otherdomain.com
www.domainname.com CNAME otherdomain.com

iplexx
01-08-2002, 04:26 AM
btw, did anyone install tinydns(djbdns) on the raq in exchange to the old bind?

dutchie
01-08-2002, 11:21 AM
I thought that was the purpose of a Cname record, until i tried it at the Terabyte's control panel, it didn't work.
I mailed them and they explained i could not forward a domain1 to domain2 that way.

Does anyone know how to do this in the TB CP ?

iplexx
01-08-2002, 01:49 PM
dutchie, do either

- add an alias to the vsite in the control panel, and disable the rewrite stuff in that vsite in httpd.conf; effect: site can be reached by both domain names

- add an 2nd vsite and put a small script/404 handle there which is makeing a "Location: http://vsite1/" http header

thewitt
01-08-2002, 02:51 PM
Originally posted by dutchie
I thought that was the purpose of a Cname record, until i tried it at the Terabyte's control panel, it didn't work.
I mailed them and they explained i could not forward a domain1 to domain2 that way.

Does anyone know how to do this in the TB CP ?
I believe that CNAME records have been depricated and are no longer recommended.

What happens when you look up a CNAME record is you have to make multiple calls to the DNS server in order to eventually get the A record and the corresponding IP address. They are not returned together, and therefor using A records instead of CNAME records is the recommended method of defining an address.

I've been looking for the link where I read this - I hate to post an unfounded piece of information - but I can't locate it. It was an RFC from a working group but that's all I recall.

As for what you are trying to do, I misunderstood in my first answer (I was thinking URL redirection) and now the question I have is about the name server and the SOA for the domain you are trying to point to. Are these already defined correctly? If you are referencing a domain name in an A record, that domain must have correctly defined name servers and have it's own identity in order for it to be resolvable.

I would also recommend you asking your initial question either at forums.devshed.com or at http://www.acmebw.com/askmrdns/

-t

nEMESIS4
01-09-2002, 05:46 PM
Well the program is I want to use the Tera-Byte DNS control panel to point a domain to a site on a different server.

If I create a vsite on my RAQ, and setup a 404 script to forward to the other server it will work fine. But I would rather just do something with DNS rather than creating a Vsite for each site I want to forward.