Method and device for detecting DNS hijacking of domain name system, and storage medium

A domain name system and storage medium technology, applied in the domain name system DNS hijacking detection field, can solve the problems of users affecting the economy and losses, and achieve high usability and easy implementation

CN110912925AInactive Publication Date: 2020-03-24BEIJING XIAOMI MOBILE SOFTWARE CO LTD
8 Cites 6 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2020-03-24
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a method and device for detecting DNS hijacking of a domain name system, and a storage medium, and the method comprises the steps: transmitting a domain name resolution requestto a DNS server; wherein the domain name resolution request is used for requesting to obtain an internet protocol IP address corresponding to a target domain name needing to be accessed; receiving a first IP address returned by the DNS server based on the domain name resolution request; determining at least one second IP address corresponding to the target domain name in a pre-stored correspondingrelation list of domain names and IP addresses; and determining whether the target domain name is hijacked or not according to the first IP address and the at least one second IP address. Whether thedomain name is hijacked or not can be quickly detected according to the corresponding relation list between the domain name and the IP address pre-stored on the terminal, and the method is easy to maintain, low in cost and high in availability.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present disclosure relates to the domain name system hijacking field, in particular to a method, device and storage medium for detecting domain name system DNS hijacking. Background technique

[0002] At present, before a terminal initiates a network request, it may first initiate a domain name resolution request to a DNS (Domain Name System, Domain Name System) server, and request to obtain an IP (Internet Protocol, Internet Protocol) address corresponding to the domain name to be accessed. However, if DNS hijacking occurs, the correct IP address returned by the DNS server may be replaced with an illegal IP address. Once the user visits the illegal IP address, it may affect the user or even bring economic loss. Contents of the invention

[0003] In view of this, the present disclosure provides a method, device, and storage medium for detecting domain name system DNS hijacking, so as to solve the deficiencies in related technologies.

[0004] A...

Examples

Embodiment Construction

[0062] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0063] The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be unders...