[Dnsmasq-discuss] Corrupted query causing FORMERR?
John Horne
john.horne at plymouth.ac.uk
Sun Aug 20 21:46:34 UTC 2023
On Sat, 2023-08-19 at 12:17 +0200, Geert Stappers wrote:
> On Fri, Aug 18, 2023 at 09:59:40AM +0000, John Horne wrote:
> > On Thu, 2023-08-17 at 17:08 +0000, John Horne wrote:
> > >
> > > Things tried include, disabling the 'edns0' option in the
> > > /etc/resolv.conf file; setting the max UDP packet size to 1232; setting
> > > the max UDP packet size to 512; using dnsmasq version 2.89. These all
> > > failed in that we still received FORMERR replies.
> > > The only option so far that has worked is to disable the use of dnsmasq
> > > via 127.0.0.1, and let each server send queries direct to the Unbound
> > > server. This has caused no FORMERR replies.
> > >
> > I should add that I have now tried running dnsmasq but with the caching
> > disabled. That too works (using the same simple test used before),
>
> Consider to describe "the same simple test used before" in a clear way
> so it can be reproduced elsewhere.
>
I invoked the following script simply by using 'nohup ./dns-test &' and checked
the output file for FORMERR every so often.
===============
#!/bin/bash
while true; do
date
dig sauopprdwebsite1.blob.core.windows.net
sleep 10
done >~/dns-output
exit
===============
>
> > so it looks like some issue with the caching part of dnsmasq.
>
> Consider to tell more about the cache usage.
>
All I can say is that if I set the cache size to zero ('cache-size=0') then the
problem doesn't occur. If I set it to 'cache-size=2048' (which is our usual
setting), then then problem occurs again.
John.
--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[https://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
More information about the Dnsmasq-discuss
mailing list