A DNS proxy serves as a bridge between a web browser and a specific Internet resource. This helps in reducing bandwidth use for the user and improving response time. A DNS server is programmed to translate a domain name request into an IP address. A DNS server is also responsible for providing information about the requested websites.
A DNS server is either IP-based or virtual. An IP-based DNS server is configured with one or more IP addresses. A virtual DNS server does not have any effect on the query resolution process. Virtual DNS translates an IP address to a logical address that can be directly associated with a particular computer or its egress interface.
In addition to serving as an egress interface, a DNS server may also act as a cache. The cache serves to reduce the bandwidth requirements when multiple client requests are made to the same server. When a DNS client connects to a proxy cache, the service responds with a generated DNS query.
In some cases, multiple proxy servers address different IP addresses. Multiple IP addresses can be specified for each DNS server, or the DNS client can request the use of more than one IP address. Multiple proxy caches can be setup on the same physical server. The DNS server address can be translated to a logical address by a DNS server. In this case, a single logical proxy address can serve several dns requests.
To use a proxy, the computer that wants to browse the Web has to be instructed to connect through a proxy at a specific IP address. Several kinds of IP address can be specified for a single server. If you want to configure more than one dns server, you have to set up one for each IP address.
In order to enable a web browser to automatically use a custom one server at a specific IP address, an IP-based URL of “*” (genome) is entered into the web browser. This command triggers a DNS server that responds with the IP address of the specified domain name. If you do not know the numeric representation of your IP address, it is a good practice to enter “*” as a colon instead of a number. For example, you can configure your system so that dns proxy settings used for a single IP address are always different from those used for another IP address. To test whether your system works properly, enter “*” followed by the numeric value of your IP address.
Another method to configure dns proxy is to configure a special virtual host. Each web browser maintains its own copy of the DNS and uses this copy to determine which DNS requests have been serviced and which have failed. A virtual host lets you specify which dns requests should be considered for handling through a virtual private server (VPS). Every VPS runs its own copy of the DNS server, so changes in the DNS settings are not reflected in other VPSs. To use this method, you need to find a name server that will serve all the DNS requests coming from your workstation.
There are also other reasons why you might need to configure DNS proxy. For instance, some companies require that they implement a VPS in their network to save money. If you are the administrator of a VPS, you can configure your VPSs to implement dns proxy action. In fact, this option is enabled by default in most VPSs. With this feature, your workstation will only receive IP address information from the domain names of the sites that are specified by the VPS.