Based on my understanding, this is because transaction.append! incorrectly adds an extra answer section to the DNS response, causing a mismatch between the question section and the answer section.
Can someone please suggest a solution to this issue? Is there a way to avoid the extra answer section being added to the DNS response?
Based on example from here I'm trying implement CNAME:
When I use dig -p 5300 @127.0.0.1 test.test to test this code, I get the following error:
Based on my understanding, this is because
transaction.append!
incorrectly adds an extra answer section to the DNS response, causing a mismatch between the question section and the answer section.Can someone please suggest a solution to this issue? Is there a way to avoid the extra answer section being added to the DNS response?