On Thu, 12 Feb 2009, Luis Silva wrote:
> Hi all,
> I'm facing a problem regarding the Cache. While doing iterative queries one
> of the external servers returns in the answer the list of nameservers with
> no additional A Records information. My application receives that
> information and adds it on the cache. The problem is that I need to consult
> that nameservers. So I start a new lookup searching for the A record of the
> nameservers. I search the cache and the detects a referral because I add the
> nameservers with no A record. This is causing a loop. Do you have a solution
> for this problem? Shouldn't the cache validates if the name searched in the
> cache is the same as the target of the ns records returned by the cache. Any
> alternative? Thanks in advance.
Without seeing specifics, it's hard to tell, but I don't see what the
problem is. If you're looking up a name in the cache and it's returning a
referral, then your application (assuming it's trying to be more
intelligent than a stub resolver) should attempt to resolve the addresses
of the nameservers before attempting to make any more progress.
Brian
|