A message sending method, applied to an electronic device , the method comprising: parsing (S201, S301, S401) a domain name system (DNS) message, and acquiring a network domain name of a to-be-accessed network from the DNS message; determining (S202), based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device ; and sending (S203, S307, S407) the DNS message to a target DNS server through the target communication link; wherein the determining (S202), based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device , comprises: searching (S302, S402) a blacklist based on the network domain name; determining (S403) a plurality of second reference communication links from the plurality of communication links having been connected to the electronic device in response to detecting that the network domain name is not included in the blacklist, wherein the plurality of second reference communication links are classified into a second type of communication links; and determining the target communication link from the plurality of second reference communication links; wherein after the sending (S203, S307, S407) the DNS message to a target DNS server through the target communication link, the method further comprising: listing (S408) the network domain name corresponding to the DNS message into the blacklist in response to receiving a message of failing to parse the DNS message from the target DNS server. parsing (S201, S301, S401) a domain name system (DNS) message, and acquiring a network domain name of a to-be-accessed network from the DNS message; determining (S202), based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device ; and sending (S203, S307, S407) the DNS message to a target DNS server through the target communication link; wherein the determining (S202), based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device , comprises: searching (S302, S402) a blacklist based on the network domain name; determining (S403) a plurality of second reference communication links from the plurality of communication links having been connected to the electronic device in response to detecting that the network domain name is not included in the blacklist, wherein the plurality of second reference communication links are classified into a second type of communication links; and determining the target communication link from the plurality of second reference communication links; searching (S302, S402) a blacklist based on the network domain name; determining (S403) a plurality of second reference communication links from the plurality of communication links having been connected to the electronic device in response to detecting that the network domain name is not included in the blacklist, wherein the plurality of second reference communication links are classified into a second type of communication links; and determining the target communication link from the plurality of second reference communication links; wherein after the sending (S203, S307, S407) the DNS message to a target DNS server through the target communication link, the method further comprising: listing (S408) the network domain name corresponding to the DNS message into the blacklist in response to receiving a message of failing to parse the DNS message from the target DNS server. <EOS>