URL logging on DNS server


Following this setup http://www.g-loaded.eu/2010/09/18/caching-nameserver-using-dnsmasq/ I was able to configure a DNS resolver server using dnsmasq for my network. The setup works correctly and logs DNS name resolution.

I would like to make this setup also log Full-URL information, we don't want to intercept any data but only log what URL a user is accessing – using a DNS server to achieve this is the preferred solution.

Best Answer

Sadly you can not log what you do not have. The DNS is never asked for the URL. The DNS is only asked to resolve the host name to an IP. The DNS protocol does not deal with anything else.

Related Topic