I would like to configure an IP updater for OpenDNS.
- What packages I need to install?
- What configuration is necessary?
I'm not asking about how to include the OpenDNS servers in my /etc/resolv.conf
.
I would like to configure an IP updater for OpenDNS.
I'm not asking about how to include the OpenDNS servers in my /etc/resolv.conf
.
The normal way to set it up at home is to just configure your router to use it. How to do this varies by model, but the basic support page for OpenDNS is here, it's a good starting point.
If you still want to just configure your Ubuntu machine to use OpenDNS, their how-to is here.
Good luck.
Very nice. However, following the tips above, the error occurs for me: "WARNING: unable to determine IP address". To resolve this error, it was only necessary to remove the blank spaces in the options of file.
And to get the IP is better the site: myip.dnsomatic.com
See below:
Test if is all ok with the command:
As of 2018, here are the steps to get the IP updater working. This answer integrates the two answers before it by hhlp and user268594.
To limit the updates to a specific network, refer to this question.
Installation
Install the updater:
This will open its shell-based UI. The correctness of its configured values is not very important at this time, as they need to be reconfirmed and possibly changed later anyway.
Configure ddclient
Use
sudo nano /etc/default/ddclient
to configure as below:Given this file, upon a reboot, the ddclient process should start automatically start in daemon mode.
Configure ddclient.conf
Use
sudo nano /etc/ddclient.conf
to configure as below:Customize the last three lines above. The last line is your network label as shown in OpenDNS Settings.
The primary reference for this section is an OpenDNS support article.
Test
Test once (not as daemon):
When the above command is run for the first time, the last line of the output should represent:
If the command is repeated, the last line of the output should represent:
After some research I can configure it:
install ddclient:
when it starts to ask for parameters just click next and next ...
Now we have to configure 2 files, open a terminal and type the following :
now with the other:
And configure your DNS as describe JE2Tom in his post.
This is a seven year old question is no longer relevant. OpenDNS does not need an updater in Windows or Linux.
To simplify, add the OpenDNS Primary and secondary IP addresses in the router. One spec covers either Ethernet or WiFi. If this cannot be done in the router, as in my case because the ISP's own DNS and they are not replaceable, then place them in the network configuration.
Depending on one's connection, they are found in on either the IPv4 or IPv6 Settings tab under additional DNS servers as: 208.67.222.222, 208.67.222.220. In this case they have to be specified for each connection type. Test it with the following OpenDNS website: https://welcome.opendns.com/