On 08/01/2022 10:43, Dominik Derigs wrote:
> Hey Simon,
> 
> another patch:
> 
> Log server port when forwarding upstream to avoid ambiguities
> when running multiple upstream destinations at the same IP but on
> different ports. The port is already logged in other places, like
> after starting dnsmasq:
> 
> Nov 17 18:03:16 dnsmasq[123]: using nameserver 127.0.0.1#5001
> Nov 17 18:03:16 dnsmasq[123]: using nameserver 127.0.0.1#5002 for
> domain network (no DNSSEC)
> Nov 17 18:03:16 dnsmasq[123]: using nameserver 127.0.0.1#5003 for
> domain example2.com (no DNSSEC)
> Nov 17 18:03:16 dnsmasq[123]: using nameserver 127.0.0.1#5004 for
> unqualified names (no DNSSEC)
> 
> Best,
> Dominik
> 


Thanks. I preferred a different set of nasty hacks, and only include the
port number when it's NOT 53, to avoid gratuitously changing log
formats. Otherwise the functionality is in there.

Patch pushed.

Cheers,

Simon.


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

Reply via email to