Configuring DNS spoofing
DNS spoofing is effective only when:
The DNS proxy is enabled on the device.
No DNS server or route to any DNS server is specified on the device.
To configure DNS spoofing:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable DNS spoofing and specify the translated IP address. | dns spoofing ip-address | Disabled by default |