Skip to content
Nosce Te Ipsum
  • Home
  • About me
  • My COETAIL Blogs
    • Course 1
    • Course 2
    • Course 3
    • Course 4
  • Testimonials
    • Professional
    • Personal
Site Search

Dynamic DNS client setup for Raspbian

  • January 21, 2020
  • by Muhammad
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg

Running any server on Raspberry will require a Dynamic DNS if you are having it on your home Internet connection or somewhere with dynamic IP address allocation from ISP.

sudo apt-get install ddclient

will get you the little app you need and you can edit

/etc/ddclient.conf

to get the required results. Consult your DNS hosting for information to go in this file. For NameCheap which I use the information is:

use=web, web=dynamicdns.park-your-domain.com/getip
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=yourdomain.com
password=password
subdomain

Do not change the top three lines. In ‘login=’ line, you need to enter your domain name, password should be obtained from NameCheap DNS hosting interface and is NOT your NameCheap account password. Finally the subdomain is whatever A or CName you are updating.

You can test with the following snippet that its working and checking your ‘syslog’ file in /var/logs

sudo /usr/sbin/ddclient -daemon 300 -syslog

Now you would want the ddclient to run as daemon on startup so run this one line to have it added to your startup scripts.

sudo update-rc.d ddclient defaults
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg
Install Nginx, MySQL and PHP on Raspberry Pi
Raspberry PI as temperature and humidity logger
Muhammad
raspberry raspberry pi

Related articles

Raspberry PI as temperature and…
Install Nginx, MySQL and PHP…
Autostart a terminal app on…
Attaching an external storage with…
Setting up L2TP/IPSEC server using…
(c) Raspberry Pi
Starting with Raspberry Pi
Using GeoIP database to identify…
Designing Technology Infrastructure for Transformational…
The sad state of human…
Installing RD9700 chipset based USB…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Me!

Follow Me On TwitterFollow Me On LinkedInFollow Me On PinterestFollow Me On About.meFollow Me On Wordpress
May 2025
M T W T F S S
« Oct    
 1234
567891011
12131415161718
19202122232425
262728293031  

2009 2010 2011 Amelie apache beijing birthday clearos crèpes debian december 2009 dubai email february firewall guide holidays ill install internet kuala lumpur linux list mac maheen mobile october 2009 outlook Pakistan raspberry raspberry pi router search Sharepoint smtp snow spring ubuntu unix VLAN VPN windows 7 winter xian Zimbra

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Categories

Licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Theme by Colorlib Powered by WordPress
  • Home
  • About me
  • My COETAIL Blogs
  • Testimonials