Use Luci to configure certain URL to resolve to local IP?

Do I have to ssh into openwrt to edit the host file if I want a domain (https ://myddns.duckdns.org) to resolve to 192.168.1.105?

I see this "additional host files" option in the Resolv Host Files tab of Luci. But I'm not sure how this field is suppose to work? Do I add the this line that would typically be added via ssh to the host file?

192.168.1.105 myddns.duckdns.org

That doesn't seem to work when I try it. I'm still on OpenWrt 21.02.1, so some of the info I see online might not be for my version? It seems like Luci should allow me to define a hostname to resolve to my local IP, but I'm not sure I can do it here.

No.
Navigate to "DHCP and DNS" in LuCI and use "Addresses" field(s) on "General" tab.
Please avoid using pictures.

1 Like

Thanks, that worked.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.