Opened 12 years ago
Closed 11 years ago
#329 closed defect (fixed)
resolver: incorrect TTL used with A+CNAME response
Reported by: | Sergey Kandaurov | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-core | Version: | 1.3.x |
Keywords: | resolver | Cc: | |
uname -a: | |||
nginx -V: | n/a |
Description
By default, nginx caches responses using the TTL value of a response.
The resolver doesn't fully operate correctly on multiple entries
received together in one DNS response.
For example, when the received answer contains multiple records as follows:
upstream 60 CNAME cname1
cname1 86400 A 10.10.10.10
Here the CNAME resolution stage would be "skipped", and the resolver cache
will store for "upstream" a finally resolved address with TTL 86400.
References: http://mailman.nginx.org/pipermail/nginx-ru/2013-April/050744.html
Change History (3)
comment:1 by , 12 years ago
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The original reporter created ticket #331, already closed as a duplicate.