Maintained by: NLnet Labs

[Unbound-users] Strange TTL of the SOA record for a noexist domain query

W.C.A. Wijngaards
Tue May 10 10:04:27 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Likun,

On 05/10/2011 03:37 AM, Likun Zhang wrote:
>> The TTL reported to downstream requestors, is then not correct.  I am
>> not sure how to fix this, as unbound puts information in the RRset and
>> in the message cache.
> 
> I did some quick look at the message and rrset cache, a possible solution for it maybe:  add a secondary rrset cache for one message cache, that rrset cache only store the soa record got from the negative response, so the soa rrset pointer in message cache can point to normal rrset cache or the secondary rrset cache.
> 
> I don't think it's perfect, but maybe it will lower the change to code.

Yes, I think that is the way to solve this.

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNyPGHAAoJEJ9vHC1+BF+NKywP/j7fdOrBxEagldUQI67Nf1f5
iyeAyJ0ah6oESMivZymMtZ8kRgLmVuN0HmgW2RJtXDt3vps2KHI9hfo0VCX0i0BW
QvkGG1mz/qtFtoH3JMmAsj+c5Zg49lvX07/zXuS/XR2QyJejB+GBZH+BkNtxsIop
cjDGx4EOA7BmHA15sBCjEICdqmFZQsXpExT+HZFtA3ubgUBtfnOEoGmQuImqq9d4
EqjxmFvREj2/FvNqc3zX8HXmrZ2UM8W6brqKlUiy77HwRsSvYMILJwwBoMwbmAfs
GeX4KsYcRzX1cejxldogR//+y+JYJA9ShDZpeuokBpYNZwmiXZP3zj4UBxj6it5M
aONzq9iltkBfNk+nbp+KrRuRRhe5lcSu6qWrIsMwI1v0TsJKsIQpTOSJQgIxH0W2
3bskhTxO3A/lgzfsm/G7vxVrses6UZk3vgXmoYBH/7/FhGq/CveZNxSLYJGJXnFR
19IwzDdsXb11xbbNddtIG0mPJ1oEFp9CIpW09lSVXpK0qDpxLVB9B8UTMA2AJYJ2
NT3LcCnlg6qboIsQFQdqBKqPU03n1328iZyJbSaTktIX8E8eH71SewWnuGcRXl/h
vggggQRKUmq/N6/xqYQcV6H452YrJ2jDwLmmvmOwm9gioM67TG2KYEDP9qSw7K1V
Y2xVxApO4MuGj6A+Dtj3
=rL3h
-----END PGP SIGNATURE-----