A method and system for obtaining an IP address
An IP address and application system technology, applied in the field of communication, can solve the problems of DNS pollution, applications cannot access the server normally, DNS server parsing abnormality, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] This embodiment provides a method for obtaining an IP address, such as figure 2 As shown, the method includes:
[0054] S101. The domain name system server receives a DNS access request sent by a client through a preset port.
[0055] In this step, when the client needs further access to obtain data, it needs to obtain an IP address from the DNS server to achieve, then the client needs to send a DNS access request to the DNS server, and the DNS server receives the DNS access request through the port, so that the client Can access the IP address and port of the server itself. Wherein, the DNS access request includes: the domain name to be requested, the first verification time and the data length. Here, because the network transmission will consume time when sending the DNS request, the first verification time is the current time in milliseconds calculated by the DNS server.
[0056]The DNS server receives the DNS access request sent by the client through a preset po...
Embodiment 2
[0069] Corresponding to Embodiment 1, this embodiment also provides a system for obtaining an IP address, such as figure 2 As shown, the system includes: DNS server 21, client 22 and DNS interface 23; wherein,
[0070] The DNS server 21 is used to receive the DNS access request sent by the client 22 through a preset port; specifically, when the client 22 needs further access to obtain data, it needs to obtain an IP address from the DNS server 21 to implement, then the client 22, it is necessary to send a DNS access request to the DNS server 21, and the DNS server 21 receives the DNS access request through a port, so that the client 22 can access the IP address and port of the DNS server 21 itself. Wherein, the DNS access request includes: the domain name to be requested, the first verification time and the data length. Here, since the network transmission will consume time when sending the DNS request, the first verification time is the current time in milliseconds calculate...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

