[NETVIRT-642] DNS standard query response is slow Created: 02/May/17  Updated: 06/Apr/18  Resolved: 06/Apr/18

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: xiaofenggang Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: All


External issue ID: 8343

 Description   

When use the nslookup command to test DNS, I found the DNS standard query response is slow. So I dump the packet use tcpdump and found the fist DNS standard query always timeout and retry after 5 seconds, and then the response is ok.

I reviewed the corresponding file `vpnservice/natservice/natservice-impl/src/main/java/org/opendaylight/netvirt/natservice/internal/NaptEventHandler.java`,
NaptEventHandler send packetout (set inPort and action as OFPP_TABLE so that it starts from table 0) after install the INBOUND_NAPT_TABLE/OUTBOUND_NAPT_TABLE.

But it can't insure the installed INBOUND_NAPT_TABLE/OUTBOUND_NAPT_TABLE flows existed before the packetout.


Generated at Wed Feb 07 20:22:05 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.