How to forward domain totally not using CNAME?

Chris Buxton cbuxton at menandmice.com
Tue Apr 28 11:35:28 UTC 2009


On Apr 28, 2009, at 2:39 AM, Larry wrote:
> MontyRee wrote:
>>
>> Hello, all.
>>
>>
>> I would like to CNAME like below.
>>
>> example.com.              IN CNAME        example2.com.
>>
>>
>> But I know that this is wrong.
>> then, is there any way or solution to solve this problem?
>>
>>
>> I searched and found that below is a similar solution.
>>
>>
>> *                 IN CNAME        example2.com.
>>
>> but in this case, only xxxx.example.com works well
>> and example.com doesn't work well.
>>
>>
>> Any comment?
>>
>>
>> Thanks in advance.
>
>
> use
>
> example.com.              IN DNAME        example2.com.

That still doesn't cover example.com itself, only *.example.com (and  
forwards them to *.example2.com, not example2.com).

Replicate the example2.com records (A record, MX record, whatever) for  
example.com. It's the only thing you can do.

Chris Buxton
Professional Services
Men & Mice




More information about the bind-users mailing list