I’ve brought a wireless router to my office, because there’s no free network socket near my place. Every normal computer that is connected via Ethernet cable normally gets IP and DNS addess servers by DHCP from enterprise router.
Our organization have some internal addresses that have their own URIs that are resolved by local DNS server. Now I can access them by IP address, but not URI, as “the host is unknown”.
In the DHCP and DNS secion of LuCi interface of my router I checked in
DNS Forwardings option and specified addresses of enterprise DNS server (they are static), but with no success.
How can I make OpenWrt forward all DNS requests that it can’t resolve itself, to these enterprise servers, or just all DNS traffic to that servers?
Don’t bother with DNS forwarding, or with OpenWrt’s internal DNS server, just serve the existing DNS servers to your DHCP clients directly. You can do this by setting DHCP option 6, which will be formatted in the web interface like:
I also have to remind you to do this only with the explicit knowledge and approval of your company’s network admin, IT department, etc.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.