[Dnsmasq-discuss] Log DNS Queries/Responses based on IP Address
donmuller22 at outlook.com
Tue Apr 6 03:18:10 UTC 2021
> -----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
> 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.
> Geert Stappers
> Silence is hard to parse
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss