[Unbound-users] what does list_stubs do?
W.C.A. Wijngaards
wouter at NLnetLabs.nl
Fri Jun 17 07:37:59 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Cathy,
On 06/17/2011 05:54 AM, Cathy Zhang wrote:
>
> I noticed that there is an option named 'list_stubs' for
> unbound-control. Here is the introduction of it on manual pages for
> unbound-control:
>
> *list*/_/*stubs*
> List the stub zones in use. These are printed one by one to the
> output. This includes the root hints in use.
>
> What does 'in use' mean?
It prints the information for the stubs from memory, as unbound is using
the stub config. (it is not printing the stuff from cache, use 'lookup'
for that, it prints the servers in cache that have been probed).
> What will happen to the result after querying unbound for the exact RR records if I set stub_prime?
The list_stubs command shows you your config. So it shows the initial
servers that it had primed from, but not the result of the prime. The
result of the prime can be seen with queries or 'lookup'.
> e.g. stub-zone:
>
>
> name: "example"
> stub-addr: 10.53.0.1
> stub-prime: yes
>
> RRset on 10.53.0.1 <http://10.53.0.1/>:
> example. IN NS ns1
> ns1 IN A 10.53.0.2
list-stubs shows you 10.53.0.1. And the root-hints from the root-hints
file.
And unbound-control lookup example shows 10.53.0.2 (and its ping time).
Best regards,
Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJN+wRXAAoJEJ9vHC1+BF+NHE8P/2ks4uW65SCBnDNAgavQWCSa
Rcy4C0XdhxJGvmZoK1WwMLvpOlOXtS/4ehShlAKVH5ghW+mk88hqpFpnTccdp9n0
6lr4SdGOFAhbGLaAW1hXfx1D+FPFFfFZpB7hqBTfVIyOy7LzRHG58tFPBBk+Dlqf
zrcS27f6wK8QmzsRVKEIcue/KvAg9RL1E2NvW/ps3yi3QSIKFWZlV5lOY0hUdEGs
fdAQr4/MM9Q/I3PhgbE+/mGYlofHVFMvI1YFO4RWDszGFLCf6Npy7F6ImqeljmcT
gJsfOmZDsm6hummIrEFSGpaLP3LYVltBrpq5WMCMZEr9ropriNcQmxo06UBnGG/1
xmU39HL4k1/1nr0+xXUfZeAh+mcKdyn3yP3Kdkq/C2tUyfZEGBYjM/lYly41pDbI
kmzEikZpqn0gPo2O4xOd52fUZ5BI/sYRDVFCGGDDwcAjRSz72fsNLR/B8W9jNMjh
7OkG9fh1qHWfsJcQtFDZL27UpfhLNkwzLZBZG0KW8BxHLxVS6fh/YJEY5cLaJjj2
fYfaPKIrxsG3EA4UJCw6fslWmuKxY17VblXEcpCPxF/8BFj8xJ6lfDJnE/JO4Gbp
wslzr1Nk5wYwZoY3zxJLFL/+gyFFLiWFdq/G2KUVj5LzcS6Vt0KbgRCX3BpKc//b
s7KB7cezZUZyZhZIQR0e
=yflx
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list