Fix DDNS Issues with OpenClash on OpenWRT
OpenClash is a very useful network acceleration software on OpenWRT routers. It can achieve traffic segmentation for different websites through rule settings, thereby improving network access speed and security. OpenClash provides multiple working modes, among which the fake-IP enhanced mode can forward all DNS requests, improving the accuracy of traffic segmentation.
There are two methods to resolve this issue:
1 Method 1: Switch to Redir-Host Mode
In Redir-Host mode, OpenClash will send all DNS requests to the configured DNS server, but will return the DDNS server's domain name resolution request directly, preventing it from being forwarded to the configured DNS server.
Steps:
- Open the OpenClash WebUI and go to the "Plugin Settings" page.
- Click the "OpenClash" tab.
- Select "Redir-Host" from the "Working Mode" drop-down box.
- Click the "Save" button.
2 Method 2: Disable Local DNS Hijacking
Disabling the Local DNS Hijacking function will prevent OpenClash from forwarding all DNS requests to the configured DNS server, which stops the DDNS server's requests from being forwarded incorrectly.
Steps:
- Open the OpenClash WebUI and go to the "Plugin Settings" page.
- Click the "DNS Settings" tab.
- Uncheck the "Local DNS hijacking" checkbox.
- Click the "Save" button.