I'd like to start using OpenDNS so I can use its category-based site filtering. I can get this working on my local machine, but I'd like to have it working on the router so all the devices connecting to it use the same DNS.
I've installed the dynamic DNS package so I've got the Dynamic DNS option showing up in LuCI, but I'm not sure what settings to put in here. I've got OpenDNS and DNS-O-Matic accounts. (I understand that this bit is necessary to inform OpenDNS of the IP address my ISP assigns to me.) I also need to change the DNS servers that the router uses, and I'm not sure where to do that either (bit of a n00b here!)
Hi - yes, I installed luci-app-ddns. I'll install ddns-scripts, see if that helps. Do you know where to change the DNS servers in LuCI (as opposed to the config file)?
Hi Dave did you get this going? I've been using OpenDNS for some years with my old router, but am trying to get it running with OpenWRT.
I have the DNS servers set up pointing to OpenDNS, I'm just trying to get the dynamic DNS updates running. At the moment I THINK ddclient is running on my laptop, (it has been for years), but occasionally I can go days between using my laptop and OpenDNS requires constant updates whenever your gateway IP address changes, so I'm hoping to get the "Dynamic DNS Client" (aka luci-app-ddns) to do the daily network IP address updates, I just cannot get my head around what the luci-app-ddns set up asks for compared to what OpenDNS needs.
Hi @WayneSb - no I didn't I'm afraid, I only managed to set the IP addresses for DNS in the WAN interface in Luci. It works until my ISP changes the IP address (which doesn't happen very often but I notice when it does). For now it works, and I haven't really got time to investigate it further (although it would be nice if it did work on its own) Sorry I couldn't be more help!
They are not wildcards, but part of the crontab syntax - see https://linux.die.net/man/5/crontab for reference (warning, the referenced man page is for vixie cron, while OpenWrt uses a trimmed down busybox cron, while the syntax is the same, advanced features might not map exactly).
Here is an example of using OpenDNS with DDNS. If you are using OpenDNS, then you already have an account at dnsomatic.com (the same username/password). Then you get a domain at a free DNS service like duckdns.org and configure dnsomatic with two services: OpenDNS & DuckDNS. DDNS updates dnsomatic and dnsomatic updates OpenDNS & DuckDNS. Then DDNS is using the domain at DuckDNS to check if the update actually happened (this is a workaround of sorts, because DDNS does require a way to validate the change and OpenDNS does not provide one). The assumption here is that if DuckDNS is updated, then OpenDNS must be as well.
Seeing your post 2 years after the facts ;-).
I've been setting up luci-app-ddns today to update my external IP address on OpenDNS.
Got it working using settings as on screenshots below. Hope it can be of any use to someone...
And advanced settings (sorry, could not share multiple screenshots at once, new member).
Since my OpenWRT router is behind another router, I the default option (WAN) was not working (was returning an internal IP address, which is useless for OpenDNS.
Therefore, obtaining external IP address by means of a URL. http://checkip.dyndns.com will always return your external ip...