Access Terminal DNS Resolution for Browser Cache Errors
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users cannot access target sites due to browser caching of incorrect IP addresses, leading to invalid HTTP requests and inability to connect to the intended websites.
Innovation Solution
An access control method and system that determines whether the website domain name in an HTTP request is valid by comparing it with the access terminal's domain name, and if invalid, performs DNS resolution to obtain the actual IP address, allowing the user equipment to access the target site.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the access terminal uses the IP address of the access terminal as a DNS resolution result when the user equipment is not connected to the network, then the user equipment can access the Web management page of the access terminal, but the user cannot access the target site after the user equipment is connected to the network because the browser caches the incorrect IP address
Solution Approach 1:
The access terminal performs DNS resolution in advance when the user equipment is not connected to the network, obtaining the correct IP address of the target site before actual access is needed. This preliminary action ensures that when the user equipment becomes connected, the cached DNS resolution result is already correct, avoiding the problem of accessing the Web management page instead of the target site.
Solution Approach 2:
The access terminal monitors the network connection status of the user equipment and adjusts its DNS resolution behavior accordingly. When the user equipment is connected to the network, the access terminal performs proper DNS resolution for target sites, ensuring that the correct IP addresses are returned and cached, thus preventing the redirection to the Web management page.
2Speed
If the browser caches the correspondence between the website domain name and the IP address of the access terminal, then the HTTP request can be initiated quickly without DNS resolution, but the user sees the Web management page again instead of the target site
Solution Approach 1:
The access terminal performs DNS resolution in advance and caches the correct correspondence between website domain names and target site IP addresses before the user equipment attempts to access the target site. This ensures that when the browser initiates an HTTP request, it uses the pre-cached correct IP address rather than the access terminal's IP address, maintaining both speed and reliability.
Solution Approach 2:
The access terminal acts as an intermediary that properly resolves DNS queries for target sites when the user equipment is connected to the network. Instead of returning its own IP address, the access terminal resolves the domain name to the correct target site IP address and returns it to the user equipment, allowing the browser to cache the correct mapping and access the intended site.
Data Source
Figure 1A
Figure 1B
Figure 2A
AI summary
Embodiments of the present invention provide an access control method, an access control system, and an access terminal. The method includes: receiving, by an access terminal, an HTTP request message transmitted by a UE where a destination IP address is an IP address of the access terminal; obtaining an actual IP address corresponding to a website domain name according to DNS resolution when the website domain name is not the IP address of the access terminal, and controlling, according to the actual IP address, the UE to access a target site corresponding to the website domain name. The technical solutions of the present invention solve the problem that a user cannot access the target site because of the cache characteristic of the user equipment.