Thanks Dominik the program runs at 5353 is chinadns-ng, it acts as a dns dispatcher and it's upstream is set to 8.8.8.8 or 1.1.1.1.
this table is very helpful, it says 8.8.8.8 max at 1400, 1.1.1.1 max at 1452. https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803/31 but the log only showed recently, after Dec 24th. this is weird. On Wed, Jan 5, 2022 at 01:51 Dominik Derigs <dl...@dl6er.de> wrote: > Hey Justin, > > On Tue, 2022-01-04 at 17:34 +0800, Justin wrote: > > Recently i see lots of logs in dnsmasq: > > reducing DNS packet size for nameserver 127.0.0.1 to 1280 > > almost one per minute > > > > my conf: > > [...] > > server=127.0.0.1#5353 > > once per minute sounds like this is happening all the time > (dnsmasq doesn't warn for one minute if it happened once). > > You should either increase the EDNS buffer size on the server > running at 127.0.0.1#5353 or add the config line > > edns-packet-max=1280 > > to your config to adhere to the limit. > > Furthermore, What server is running on port 5353 of your machine? > > I suggest reading this discussion, Pi-hole runs dnsmasq at its > heart and everything is directly applicable to your situation: > > https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803 > > Maximum packet sizes for some commonly used server are here > > > https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803/31 > > Best, > Dominik > > -- Regards Justin He
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss