[Dnsmasq-discuss] Show host names in dnsmasq's log
Simon Kelley
simon at thekelleys.org.uk
Tue Feb 6 18:13:57 GMT 2018
That looks useful. Would the denizens of the list like this facility?
Cheers,
Simon.
On 05/02/18 13:03, Michael Stiemke wrote:
> I have modified cache.c to do this.
>
>
>
> Output in the log now looks like this:
>
>
>
> query[A] v20.vortex-win.data.microsoft.com from 192.168.5.118 =
> cpu-video (dhcp)
>
>
>
> or
>
>
>
> query[AAAA] download.opensuse.org from 192.168.5.10 = emu-deve.xxxx.eu
> (static)
>
>
>
> If there is interest, I will post the changes.
>
>
>
> The modification just loops through the cache table and gets the names
> from there - local query originators only of course, these being either
> static or dhcp assigned, can be found in there.
>
>
>
> best regards,
> Michael Stiemke (mailto:ms at ansynova.com)
>
> **
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list