Load_cache

i wanted to test loading cache using the load_cache feature in unbound
1.4.22

can the complete root.zone be loaded for testing purposes from:

http://www.internic.net/domain/root.zone

?

# unbound-control load_cache < root.zone
error: could not SSL_write contents

Unbound's "load_cache" feature is designed to load a previously dumped
cache. You're trying to load a DNS zone using load_cache, and it's not
the same as a dumped cache.

Regards,

Anand

Anand Buddhdev wrote:

The root zone available at http://www.internic.net/domain/root.zone is
just fine. But you seem to keep missing the point, which is:

DNS zone != cache

You CANNOT load a DNS zone into Unbound using the load_cache feature.

Anand