[Dnsmasq-discuss] Log DNS Queries/Responses based on IP Address

Donald Muller donmuller22 at outlook.com
Tue Apr 6 03:18:10 UTC 2021


Thanks Geert.

> -----Original Message-----
> From: Dnsmasq-discuss <dnsmasq-discuss-bounces at lists.thekelleys.org.uk>
> On Behalf Of Geert Stappers via Dnsmasq-discuss
> Sent: Monday, April 5, 2021 3:55 AM
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] Log DNS Queries/Responses based on IP
> Address
> 
> On Mon, Apr 05, 2021 at 09:47:38AM +0200, Yes wrote:
> > On Sat, Apr 03, 2021 at 09:02:02PM +0000, Donald Muller wrote:
> > > I looked at the man pages but didn't see anything for this (maybe
> > > I missed it). Is there a way to specify DNS logging based on an IP
> > > address? In other word I just want to log DNS queries and responses
> > > from/to a particular IP address. Is this possible?
> >
> > Yes
> 
> Adding such **condiontal** logging to dnsmasq should be avoided.
> 
> Run dnsmasq with --log-queries=extra and filter from the output
> the wanted information.
> 
> 
> Groeten
> Geert Stappers
> --
> Silence is hard to parse
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss



More information about the Dnsmasq-discuss mailing list