[MaraDNS list] deadwood: ttl is not aging on continuous nslookup/dig

Sam Trenholme maradns at gmail.com
Tue Jan 3 22:41:05 EST 2012


Update: I have successfully reproduced this bug and have made a SQA
regression for the bug.  Today's snapshot (20120103) has this new
regression (sqa/sqa_ttl_expire):

http://maradns.org/deadwood/snap/

Next: Fix the bug in Deadwood's code.

Timeframe: Unknown; hopefully tomorrow.

- Sam

On Tue, Jan 3, 2012 at 9:50 AM, Sam Trenholme <maradns at gmail.com> wrote:
> Thank you for the Deadwood bug report.  I hope to have time over the
> next few days to investigate this bug.  If I can reproduce it, I will
> then work on fixing the bug.
>
> - Sam
>
> On Mon, Jan 2, 2012 at 5:25 AM, Srinivas Hebbar <sshebbar at gmail.com> wrote:
>> Hello,
>>
>> With the A record TTL set to 60, the aging stops at "30" as long as
>> I do dig every second. If I stop dig for 30 seconds, the cache  expires and
>> new record with ttl 60 is responded by deadwood.
>>
>> This is happening on both 3.0.x and 3.1.x releases.
>>
>> Unless I stop dig for more than 30 seconds, the above record is never get
>> updated.
>>
>> I have lots of LAN clients and the request is coming so often that the old
>> record never expires
>> from the cache.
>>
>> dig LOG:
>> /home/shyam> while [ 1 ]; do dig @localhost test.testing.tindip.com | grep
>> ^test; sleep 1; done
>>
>> test.testing.tindip.com. 60     IN      A       2.2.2.2
>> test.testing.tindip.com. 59     IN      A       2.2.2.2
>> test.testing.tindip.com. 58     IN      A       2.2.2.2
>> test.testing.tindip.com. 57     IN      A       2.2.2.2
>> test.testing.tindip.com. 56     IN      A       2.2.2.2
>> test.testing.tindip.com. 55     IN      A       2.2.2.2
>> test.testing.tindip.com. 54     IN      A       2.2.2.2
>> test.testing.tindip.com. 53     IN      A       2.2.2.2
>> test.testing.tindip.com. 52     IN      A       2.2.2.2
>> test.testing.tindip.com. 51     IN      A       2.2.2.2
>> test.testing.tindip.com. 50     IN      A       2.2.2.2
>> test.testing.tindip.com. 49     IN      A       2.2.2.2
>> test.testing.tindip.com. 48     IN      A       2.2.2.2
>> test.testing.tindip.com. 47     IN      A       2.2.2.2
>> test.testing.tindip.com. 46     IN      A       2.2.2.2
>> test.testing.tindip.com. 45     IN      A       2.2.2.2
>> test.testing.tindip.com. 44     IN      A       2.2.2.2
>> test.testing.tindip.com. 43     IN      A       2.2.2.2
>> test.testing.tindip.com. 42     IN      A       2.2.2.2
>> test.testing.tindip.com. 41     IN      A       2.2.2.2
>> test.testing.tindip.com. 40     IN      A       2.2.2.2
>> test.testing.tindip.com. 39     IN      A       2.2.2.2
>> test.testing.tindip.com. 38     IN      A       2.2.2.2
>> test.testing.tindip.com. 37     IN      A       2.2.2.2
>> test.testing.tindip.com. 36     IN      A       2.2.2.2
>> test.testing.tindip.com. 35     IN      A       2.2.2.2
>> test.testing.tindip.com. 34     IN      A       2.2.2.2
>> test.testing.tindip.com. 33     IN      A       2.2.2.2
>> test.testing.tindip.com. 32     IN      A       2.2.2.2
>> test.testing.tindip.com. 31     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>>
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 28     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>> test.testing.tindip.com. 29     IN      A       2.2.2.2
>>
>>
>> Thanks,
>> Hebbar.


More information about the list mailing list