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:m...@ansynova.com)



_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to