-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed DNS response with EDNS #192
Comments
Can you provide packet captures for both cases and the MTU configured on your Ubuntu machine (ip link show dev )? |
ubuntu@vm-1:~$ ip link show dev ens2
2: ens2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:43:6b:18 brd ff:ff:ff:ff:ff:ff
altname enp0s2 |
The two packet captures are at https://gist.github.com/nicolasbock/c66f7d7e581a69b3041fe16f99d3ac0a |
I'll add the packet captures inline here. There are short after all:
|
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply sometimes results in mangled responses that clients do not understand. Instead, just return early when one is present, which should trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. Closes issue ovn-org#192 Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
I would assign this to myself if I could, but at least dropping a comment that I pushed that patch to the ML for review. |
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply sometimes results in mangled responses that clients do not understand. Instead, just return early when one is present, which should trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. Closes issue ovn-org#192 Signed-off-by: Brian Haley <haleyb.dev@gmail.com>
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Closes issue ovn-org#192 Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
Just an FYI a fix for the job timeouts was proposed at https://mail.openvswitch.org/pipermail/ovs-dev/2023-May/404985.html - until that is merged don't think anything else will. |
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com>
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit 4b10571)
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit 4b10571)
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit 4b10571)
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit 4b10571)
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit 4b10571)
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit 4b10571)
DNS queries with optional records (RRs), for example, with cookies for EDNS, are not supported by the OVN resolver. Trying to reply will result in mangled responses that clients do not understand - the ANSWER section will contain an incorrect option. Instead, just return early when one is present, which will trigger a negative response and cause clients to go to the upstream forwarder, hopefully resulting in a successful query. In our testing, the resolver only retries if the response is correctly formatted, which now happens with this change. Reported-at: ovn-org#192 Reported-by: Nicolas Bock <nicolasbock@gmail.com> Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit 4b10571)
Fixed by 4b10571, thanks! |
In a Yoga OpenStack deployment using
ovn-22.03.0
I get failed DNS queries from a VM:When I disable EDNS I receive a valid response:
I can provide captured packets or other relevant information that might help.
The text was updated successfully, but these errors were encountered: