Configuring the DNS proxy
You can specify multiple DNS servers by using the dns server command repeatedly. Upon receiving a name query request from a client, the DNS proxy forwards the request to the DNS server that has the highest priority. If having not received a reply, it forwards the request to a DNS server that has the second highest priority, and thus in turn.
To configure the DNS proxy:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable DNS proxy. | dns proxy enable | Disabled by default. |
3. Specify a DNS server. |
| Use at least one method. No DNS server is specified by default. |