The invention provides an anti-hijack communication method of a DNS (
Domain Name System), which relies on a
router and has excellent security. The anti-hijack communication method comprises the following processes that: a user sends
a domain name resolution request, after the
router receives the request, the
router does not directly forward outwards, instead, the following judgments are made, if the router has no DNS cache or the DNS cache has no relevant
record, and an anti-hijack DNS
server is arranged in the router, the router is communicated with the anti-hijack DNS
server, and a communication process is as follows: if the router and the anti-hijack DNS
server perform safety communication
handshake, the following process is executed; otherwise, the safety communication
handshake is established firstly; and the router and the anti-hijack DNS server both utilize keys established by the safety communication
handshake to encrypt and decrypt sending information and receiving information respectively so as to carry out communication, the information, which is sent to the anti-hijack DNS server by the router, at least comprises a requested
domain name, and the information, which is sent to the router by the anti-hijack DNS server, is information fed back by the information, which is sent to the anti-hijack DNS server by the router.