| CPC H04L 47/24 (2013.01) [H04L 61/4511 (2022.05)] | 20 Claims |

|
1. A method for setting priority of packet transmission, comprising:
receiving an uplink packet from a client device via a local area network (LAN) port;
determining whether the uplink packet is a domain name system (DNS) query packet;
comparing by a filter a query string in the uplink packet with a list including a plurality of strings based on determining that the uplink packet is a DNS query packet, wherein the list includes priority levels for the plurality of strings;
recording a first transaction ID in the uplink packet and a priority of one of the plurality of strings in the list into a first recording table when the query string matches the one of the plurality of strings in the list;
transmitting the uplink packet to a network server according to a first priority level via a wide area network (WAN) port; and
comparing an IP address of the network server in the uplink packet with a second recording table including a plurality of IP addresses when determining that the uplink packet is not a DNS query packet.
|