question about CNAME
tzq tang
gelenbertang at gmail.com
Fri Mar 13 03:19:27 UTC 2009
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 <talklists at 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@ *
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20090313/7fc75ae3/attachment.html>
More information about the bind-users
mailing list