DNS redirection

Hello,

I’d like to redirect a siteworx subdomain to an other no siteworx sub domain

By example :
siteworx subdomain : sub1.domain.com
Other subdomaine : other.free.com

To do this I have created a CNAME in the DNS account
sub1.domaine.com CNAME other.free.com

It doesn’t work

When I do a dig I have :

[root@padawan root]# dig sub1.domaine.com

; <<>> DiG 9.2.4 <<>> sub1.domaine.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64521
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;sub1.domaine.com. IN A

;; ANSWER SECTION:
sub1.domaine.com. 43040 IN CNAME other.free.fr.
other.free.fr. 3441 IN CNAME xxxxx1-g.free.fr.
xxxxx1-g.free.fr. 26296 IN A 212.xxx.xxx.209

;; AUTHORITY SECTION:
free.fr. 53293 IN NS freens1-l.free.fr.
free.fr. 53293 IN NS freens1-a.free.fr.

;; ADDITIONAL SECTION:
freens1-a.free.fr. 52840 IN A 213.228.0.82
freens1-l.free.fr. 52840 IN A 213.228.0.198

;; Query time: 1 msec
;; SERVER: 66.118.128.20#53(66.118.128.20)
;; WHEN: Wed Jun 15 19:44:10 2005
;; MSG SIZE rcvd: 192

1/ So my question is : how to redirect this subdomaine or domaine to an external domain (like an inversed pointer)

I’ve created these dns record for this account
xxxxx1-g.free.fr A 212.xxx.xxx.209
other.free.fr CNAME xxxxx1-g.free.fr.
sub1.domaine.com CNAME xxxxx1-g.free.fr

I’ll see if it works

2/ Also is it possible to silently redirect a domain to an other (ORT), same for no silently

As I not sure it is called like this in english I’m going to explain this :

I mean, by example

– Invisible redirection (ORT) —

Example :

web

Invisible redirection to
http://linktothesite

In the navigator the url will be

— Visible redirection (ORT) ----

Example :

web

Visible redirection to
http://pathtothesite

In the navigator the url will be
http://pathtothesite

Thanks for your help

Pascal

Using CNAME records will make the redirection “invisible” to most users. The web site you are redirecting to will need to understand the faked domain name though. Some software (like a good deal of CMS’s) set a link base which includes the domain name as configured. This means as soon as someone clicks a link the plot is exposed.

What you have done should work. Your dig output shows this. You are bouncing twice though, so the server on the end of all of this might not know it is suposed to server up information for sub1.domain.com . I’d have to know the actual domain names to tell you for sure, though.

If you want the redirection to be visible, you need to use an HTTP redirect or a meta refresh tag. Both you can search for and find multiple ways of doing it.

It didn’t work.

Here is the real domaine
felins.basille.net redirected to felinsdumonde.free.fr

here is what dig returns for felins.basille.net

[root@padawan root]# dig felins.basille.net

; <<>> DiG 9.2.4 <<>> felins.basille.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52888
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;felins.basille.net. IN A

;; ANSWER SECTION:
felins.basille.net. 43200 IN CNAME perso209-g.free.fr.
perso209-g.free.fr. 75533 IN A 212.27.40.209

;; AUTHORITY SECTION:
free.fr. 2775 IN NS freens1-a.free.fr.
free.fr. 2775 IN NS freens1-l.free.fr.

;; ADDITIONAL SECTION:
freens1-a.free.fr. 2322 IN A 213.228.0.82
freens1-l.free.fr. 2322 IN A 213.228.0.198

;; Query time: 45 msec
;; SERVER: 66.118.128.20#53(66.118.128.20)
;; WHEN: Thu Jun 16 09:46:13 2005
;; MSG SIZE rcvd: 164

And what it returns for felinsdumonde.free.fr (the redirection to domain)

[root@padawan root]# dig felinsdumonde.free.fr

; <<>> DiG 9.2.4 <<>> felinsdumonde.free.fr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13649
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;felinsdumonde.free.fr. IN A

;; ANSWER SECTION:
felinsdumonde.free.fr. 3600 IN CNAME perso209-g.free.fr.
perso209-g.free.fr. 75425 IN A 212.27.40.209

;; AUTHORITY SECTION:
free.fr. 2667 IN NS freens1-a.free.fr.
free.fr. 2667 IN NS freens1-l.free.fr.

;; ADDITIONAL SECTION:
freens1-a.free.fr. 2214 IN A 213.228.0.82
freens1-l.free.fr. 2214 IN A 213.228.0.198

;; Query time: 117 msec
;; SERVER: 66.118.128.20#53(66.118.128.20)
;; WHEN: Thu Jun 16 09:48:01 2005
;; MSG SIZE rcvd: 160

As I wrote in my previous post, as the felins.basille.net CNAME felinsdumonde.free.fr didn’t work, I jave created these records :

perso209-g.free.fr A 212.xxx.xxx.209
felinsdumonde.free.fr CNAME perso209-g.free.fr.
felins.basille.net CNAME perso209-g.free.fr

Pascal