resolving dns name to another dns name?

Karl Auer kauer at biplane.com.au
Fri Aug 5 21:56:06 UTC 2005


> www.ourdomain.com     IN    CNAME    www.theirdomain.com
> 
> I tried this and it obviously doesn't work (BIND 9.3.1, SUSE Pro 9.2).

You need to tell us in exactly what way it "doesn't work". Error messages, log entries...?

You also need to tell us exactly what you actually want to achieve. Do you want people who type in "www.theirdomain.com" to come to "www.ourdomain.com", or the other way around? If you want to redirect them to you, then THEY have to set up the redirection, you can't do it. Otherwise anyone could hijack any name they wanted :-)

There should be a full stop after www.ourdomain.com and after www.theirdomain.com, otherwise what you are really getting is "www.ourdomain.com.ourdomain.com. IN CNAME www.theirdomain.com.ourdomain.com.".

And last but not least, the webserver has to recognise the name it is being accessed under.

Regards, K.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +41-43-2660706 (h)
http://www.biplane.com.au/~kauer/                  +41-44-6327531 (w)



More information about the bind-users mailing list