<div dir="auto">Thanks Dominik</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">this table is very helpful, it says 8.8.8.8 max at 1400, 1.1.1.1 max at 1452.</div><div dir="auto"><div><a href="https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803/31">https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803/31</a></div><br></div><div dir="auto">but the log only showed recently, after Dec 24th. this is weird. </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 5, 2022 at 01:51 Dominik Derigs <<a href="mailto:dl6er@dl6er.de">dl6er@dl6er.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hey Justin,<br>
<br>
On Tue, 2022-01-04 at 17:34 +0800, Justin wrote:<br>
> Recently i see lots of logs in dnsmasq:<br>
> reducing DNS packet size for nameserver 127.0.0.1 to 1280<br>
> almost one per minute<br>
> <br>
> my conf:<br>
> [...]<br>
> server=127.0.0.1#5353<br>
<br>
once per minute sounds like this is happening all the time<br>
(dnsmasq doesn't warn for one minute if it happened once).<br>
<br>
You should either increase the EDNS buffer size on the server<br>
running at 127.0.0.1#5353 or add the config line<br>
<br>
edns-packet-max=1280<br>
<br>
to your config to adhere to the limit.<br>
<br>
Furthermore, What server is running on port 5353 of your machine?<br>
<br>
I suggest reading this discussion, Pi-hole runs dnsmasq at its<br>
heart and everything is directly applicable to your situation:<br>
<br>
<a href="https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803" rel="noreferrer" target="_blank">https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803</a><br>
<br>
Maximum packet sizes for some commonly used server are here<br>
<br>
<a href="https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803/31" rel="noreferrer" target="_blank">https://discourse.pi-hole.net/t/dnsmasq-warn-reducing-dns-packet-size/51803/31</a><br>
<br>
Best,<br>
Dominik<br>
<br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br>Regards<br>Justin He</div>