|
|
 |  |
Re: CNAME pointing...From: Michael Reid Date: Friday, August 14, 1998
Time: 12:54:00 amHi,
>>I'm a new subscriber to this list and I have a small question...
>>I have a CNAME record to a host outside of my domain. When I ask the server
>>for the address (A record), most of the times it comes back with the
>>correct answer, but some of the times, it just comes back with the CNAME
>>alone, and does not look up the related A records outside of my domain. If
>>I then ask for the host directly and then back to the CNAME, then it shows
>>the full information.
>> Is there a way to have my DNS always look for the related A records
>>outside my domain, or is it actually doing this and I'm not waiting long
>>enough. Can I permanently cache this data?
>
>No, you can't permanently cache any info (unless you serve the domain on
>your own server, e.g. by configure it to be a secondary server for the
>domain).
>A probable reason for this is that your request times out when QuickDNS Pro
>is resolving the CNAME. If you ask for the related A record outside your
>domain it goes directly to the authorative server and puts the record in
>cache. Another (ugly) solution is to change the CNAME record to an A
>record.
But that's just it! I don't think it's asking for the related A records! I
just did an EtherPeek packet dump and I can find no evidence that the
server did any further queries when I did a query (of type 'A') on the
CNAME record that points outside of my domain. I checked with other records
outside of my local domain and it seems to work as you described above.
Can you check this scenario for me at your labs with EtherPeek?
Set up a primary DNS with a CNAME record for a host that points outside of
the locally hosted domain like this:
host.mydomain.com CNAME 86400 host.otherdomain.com
The 'mydomain.com' is a local domain, hosted in the Primary Data folder of
the DNS. The 'otherdomain.com' is just any other domain that's not hosted
by the DNS.
See if the primary DNS does any further queries on it's own based on the
CNAME data or you have to explicitly ask the DNS for a record in the
'otherdomain' for the data to be cached and glued?
Michael Reid
|

Return to Digital Point Solutions' Home Page |