To use SafeDNS on computer with Linux OS you need to add our DNS servers addresses in your system configuration and install ddclient program. Ddclient is usually shipped with all Linux distributions.

1. Configure system DNS.

Unfortunately, the methods of DNS configuration differ with various Linux distributions, so we’ll give general recommendations instead of stage-by-stage instructions.

If you configure the network through NetworkManager, it will be sufficient to insert our DNS server IP address in the window of the Internet connection settings. Otherwise, the solution is to find out which application is used for adjusting the network in your distribution and configure it so that it either populates the /etc/resolv.conf file correctly (see below) or does not touch that file at all. In the latter case, the file should be edited manually.

In any case, in the file /etc/resolv.conf there should appear the lines reading as follows:

nameserver 195.46.39.39
nameserver 195.46.39.40

There should not be any other lines beginning with the key word ‘nameserver’, in order for site filtering to be done correctly.

2. Install and configure ddclient.

Ddclient package is shipped with all Linux distributions. We recommend to use package available in your system that must be correctly configured by distributions mantainers. If your Linux distribution don’t have ddclient you can download it from SourceForge. You’ll need to install and configure it yourself.

After ddclient is installed you need to insert next configuration in its config file (/etc/ddclient.conf or /etc/ddclient/ddclient.conf):

daemon=300
syslog=yes
ssl=yes

protocol=dyndns2
server=www.safedns.com

use=web
web=http://www.safedns.com/nic/myip

# Replace with your email and password for www.safedns.com

login=you@yourmail.com
password=your_password

# Place the name of your computer. If you have several computers with dynamic IPs 
# their names must differ.

laptop

After computer reboot ddclient must be started. You can check successfull IP address registration by the presence of next string in your system logs (/var/log/syslog, /var/log/daemon.log or /var/log/messages):

Aug 14 12:49:13 laptop ddclient[4105]: SUCCESS: updating laptop: good: IP address set to 188.17.179.211

This site requires cookies in order to give you the best user experience. By using this site, you are agreeing to the use of cookies. ConfirmPrivacy Policy