Domain name analyticmethod for multi-WAN-port gateway device

The invention discloses a domain name analytic method for a multi-WAN-port gateway device. The domain name analytic method for the multi-WAN-port gateway device comprises the following steps that LAN ports are divided into groups, each group of LAN ports is bound with one WAN port; domain name analytic request messages sent by the LAN ports are received and analyzed, wherein if the analysis is successful, an analytic result is fed back to the LAN ports which send the domain name analytic request messages, and if the analysis is not successful, the domain name analytic request messages are sent out through the WAN port which is bound with the LAN ports sending the domain name analytic request messages, and the analytic result is monitored and received. Through binding of the LAN ports and the WAN ports, when a domain name is analyzed, the request messages of the LAN ports will not be sent to a plurality of WAN ports, and therefore consumption of network resources can be reduced.