Maintained by: NLnet Labs

[Unbound-users] unbound logging

Andreas Schulze
Fri Oct 29 15:42:47 CEST 2010


Hello,

I used dnscache for many years. Now I have little problems reading unbound logging.

2010-10-29 15:09:52.908053500 [1288357792] unbound[13599:0] info: resolving <www.alleziele.de. A IN>
2010-10-29 15:09:52.920270500 [1288357792] unbound[13599:0] info: response for <www.alleziele.de. A IN>
2010-10-29 15:09:52.920273500 [1288357792] unbound[13599:0] info: reply from <de.> 81.91.164.5#53
2010-10-29 15:09:52.920274500 [1288357792] unbound[13599:0] info: query response was REFERRAL

2010-10-29 15:09:52.939340500 [1288357792] unbound[13599:0] info: response for <www.alleziele.de. A IN>
2010-10-29 15:09:52.939342500 [1288357792] unbound[13599:0] info: reply from <alleziele.de.> 80.67.16.124#53
2010-10-29 15:09:52.939343500 [1288357792] unbound[13599:0] info: query response was ANSWER

The logging above can't answer two questions:
 - which client asked Unbound ?
 - what is the answer, the A record of www.alleziele.de. ?

Why Im intersted in this ?
I usualy run dnscache/unbound supervised and put the logging into an circular buffer.
In a case of trouble I my look what the resolver is doing...

dnscache can answer my questions ( not optimized for human reading ;-)
@400000004ccac920287b172c query 55408 00000000000000000000ffff7f000001:8f33:bf4c 1 www.alleziele.de.  < localhost is asking for ...
@400000004ccac920279b9c3c rr 00000000000000000000ffffc0000235 3600 1 www.alleziele.de. 5043190d       < 192.0.2.53 answers "80.67.25.13"

also unbound gives me no information if any client asking for a *cached* information.

dnscache does:
@400000004ccac9371fe8442c query 55570 00000000000000000000ffff7f000001:8f33:9bbe 1 www.alleziele.de.  < localhost is asking for ...
@400000004ccac9371fe8730c cached 1 www.alleziele.de.                                                  < cached answer

Can I configure unbound to give me the same informations as dnscache ???
Thanks !
Andreas

-- 
Andreas Schulze
Internetdienste | P532

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen