Bug 4223 - unbound-control dump_cache does not include ECS cache
unbound-control dump_cache does not include ECS cache
Status: NEW
Product: unbound
Classification: Unclassified
Component: server
1.8.3
x86_64 Linux
: P5 enhancement
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-22 19:41 CET by leoleovich
Modified: 2019-01-23 13:19 CET (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leoleovich 2019-01-22 19:41:12 CET
Hello unbound team,
We noticed that domain, with enabled subnet module is not included in unbound-control dump_cache output nether it's subdomains.

How to repro:
Enable ECS in unbound config for particular domain:

...

module-config: "subnetcache validator iterator"
client-subnet-zone: domain.test.local
...

Query random record in this domain:

dig $RANDOM.whatever.domain.test.local.
Note: Record on authoritative DNS server does not have to contain ECS info. In our case it is just A record with no maps.

unbound-control dump_cache | grep whatever
<empty result>

remove client-subnet-zone: domain.test.local from config and restart unbound.
unbound-control dump_cache | grep whatever
<some result>


Is it possible to include submodule data to this dump?
Thanks!