On Tue, 2009-04-28 at 04:46 +0000, MontyRee wrote:
> If I set like below, 
>  
> example.com.              IN DNAME        example2.com
> 
> IP addreess of example.com is 192.168.1.2 
>  
>  
> 1. if client resolver use bind 8 or below old version.
>    What would be happen?
>    Can recognize DNAME record well?
>  
>  
> 2. if I query example.com, it returns NXDOMAIN instead of 192.168.1.2.
>    How to solve this problem?

        You need to keep in mind that DNAME provides 'aliasing'
        for domain names _below_ the name to which the DNAME belongs,
        and _not_ for the name itself.

        The DNAME record you've shown provides a hierarchy of mappings,
        including the following:

a.example.com. -> a.example2.com.
tasty.example.com. -> tasty.example2.com.
sandwich.example.com. -> sandwich.example2.com.
is.what.i.want.for.lunch.example.com. ->
  is.what.i.want.for.lunch.example2.com.

        It doesn't do anything for example.com. itself.
        You'll need to add A, AAAA, MX, records as needed.

        /Niall


_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to