A message sending method, applied to an electronic device (101, 500), the method comprising: parsing (S201, S301, S401) a domain name system message, and acquiring a network domain name of a to-be-accessed network from the DNS message; determining, based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device (101, 500); and sending (S203, S307, S407) the DNS message to a target DNS server through the target communication link; wherein the determining, based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device (101, 500), comprises: searching (S302, S402) a blacklist based on the network domain name; determining a plurality of second reference communication links from the plurality of communication links having been connected to the electronic device (101, 500) 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 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 message, and acquiring a network domain name of a to-be-accessed network from the DNS message; determining, based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device (101, 500); and sending (S203, S307, S407) the DNS message to a target DNS server through the target communication link; wherein the determining, based on the network domain name, a target communication link from a plurality of communication links having been connected to the electronic device (101, 500), comprises: searching (S302, S402) a blacklist based on the network domain name; determining a plurality of second reference communication links from the plurality of communication links having been connected to the electronic device (101, 500) 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 a plurality of second reference communication links from the plurality of communication links having been connected to the electronic device (101, 500) 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 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.