Domains with multiple hosts being improperly cached. [BIND 9.2.2]
Pete Ehlke
pde at ehlke.net
Thu Aug 7 17:54:40 UTC 2003
On Thu, Aug 07, 2003 at 09:57:39AM -0700, Martin Glaude wrote:
> I run a webserver hosting a few domains. Each domain has an entry for
> "domain.com" and another for "www.domain.com". In most cases the
> "www" domain is a CNAME, but I've also tried with A records. See
> below for an example.
>
> The problem is that I can query for the "domain.com" address and get a
> proper response (after a brief delay). However, if I then query for
> "www.domain.com", I get a SERVFAIL error immediately - as though the
> local computer never queried the server. The reverse case
> ("www.domain.com" then "domain.com") still results in a success on the
> first query, then failures. Queries to the second domain only seem to
> work after the cache-time of the first one has expired and things
> start from fresh once again.
>
> -----------------------------------------------------
> Example hosts file:
>
> [root at www marty]# cat /var/named/simaltech.com.hosts
> $ttl 38400
> simaltech.com. IN SOA 66.206.231.25. martin.simaltech.com. (
> 1051192071
> 10800
> 3600
> 604800
> 38400 )
> simaltech.com. IN NS 66.206.231.25.
NS records point to canonical names, not to IP addresses. There is no
TLD "25." on the public internet.
More information about the bind-users
mailing list