gamelinux / passivedns

A network sniffer that logs all DNS server replies for use in a passive DNS setup
http://gamelinux.org/
1.67k stars 372 forks source link

Doesn't work on loopback. #102

Open cweimann opened 6 years ago

cweimann commented 6 years ago

It looks like it is working but it never logs anything. I have a resolver running and my resolv.conf has nameserver 127.0.0.1 and lookups work fine but passivedns never sees anything.

gamelinux commented 6 years ago

did you figure this out?

cweimann commented 6 years ago

No but I didn't really spend much time. My guess is that the layer 2 headers are missing or different on loopback so the packet decoding just doesn't work right.

On Tue, Jul 3, 2018 at 4:27 AM Edward Fjellskål notifications@github.com wrote:

did you figure this out?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gamelinux/passivedns/issues/102#issuecomment-402055756, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjPrn94QNS5BVhPVSKLqhBE5VMvBRqdks5uCyrlgaJpZM4TQtWd .