What is not working?  Are you not getting the CNAME record for email.test.com?  
Are you not getting the A record for email.tzqian.com?  Are both zones on the 
same dns server, or is each zone on a separate server?  Which server are you 
querying, and from what device are you issuing the query?

 
________________________________

From: bind-users-boun...@lists.isc.org on behalf of tzq tang
Sent: Thu 3/12/2009 10:19 PM
To: Scott Haneda
Cc: bind-users@lists.isc.org
Subject: Re: question about CNAME


thanks for your response.I do this test between two intranet machine and each 
of them has a local IP.10.0.0.13,additionally the both domain are in the same 
DNS SERVER 10.0.0.13 ,the zone file as follows:
ZONE 1:
$ORIGIN .
$TTL 86400      ; 1 day
test.com                IN SOA  test.com. www.test.com. (
                                19970229 ; serial
                                10         ; refresh (10 seconds)
                                10         ; retry (10 seconds)
                                30         ; expire (30 seconds)
                                30         ; minimum (30 seconds)
                                )
                        NS      localhost.
                        A       10.0.0.13
$ORIGIN test.com.
1                       PTR     localhost.
email           CNAME  email.tzqian.com.

ZONE 2:

$ORIGIN .
$TTL 86400      ; 1 day
tzqian.com              IN SOA  tzqian.com. support.tzqian.com. (
                                1997022706 ; serial
                                10         ; refresh (10 seconds)
                                10         ; retry (10 seconds)
                                30         ; expire (30 seconds)
                                30         ; minimum (30 seconds)
                                )
                        NS      localhost.
                        A       10.0.0.13
$ORIGIN tzqian.com.
1                       PTR     localhost.
email                   A       10.0.0.1



On Thu, Mar 12, 2009 at 7:55 PM, Scott Haneda <talkli...@newgeo.com> wrote:


        Can you just post your zone file, copy and paste, and do not change any 
data in it, use real IP's.  Or at least obfuscate them in a way that makes 
sense to the rest of us.  There really is not a lot of sense in obfuscating a 
public data store anyway.
        
        Here is an example:
        
        Server #1
        email.server    IN      A      192.168.1.100
        
        Server #2
        email           IN      CNAME  email.server.yourzone.com.
        
        I am still not sure I understand your issues, you need to show us both 
zones, and tell us each zones host name. 


        On Mar 11, 2009, at 7:28 PM, tzq tang wrote:
        
        

                I think I should explain the question more clearly,I am 
wondering how cname reflect the address,so I do a test in my server
                to add an A record as follows (zone.com):
                email.xx  A       12.2.23.4
                and in another DNS server I add an CNAME record as follows:
                email          CNAME      email.xx.zone.com.
                but it dosen't work.who can tell me why ?
                


        --
        Scott * If you contact me off list replace talklists@ with scott@ *
        
        


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

Reply via email to