Google Domain DDNS Raspberry Pi or Linux Systems

Google Domain DDNS Raspberry Pi or Linux SystemsGoogle domains provide excellent Dynamic DNS services free with the hosting for IPv4 and IPv6. In case you have a small web service hosted using dynamic dns this tool can be very helpful for setting up low cost hosting in few minutes. Most of the common Broadband routers these days support on TZO or which are paid services of Create the port forwarding for your broadband or DSL routers to your LAN device IP and the follow the steps.

pi@raspberrypi:~ $ sudo apt update 
pi@raspberrypi:~ $ sudo apt insatll ddclient

after successful installation of ddclient edit the configuration file at /etc/ddclient.conf in your favorite editor

# Configuration file for ddclient generated by debconf #
login=googledomaindyndnslogin password='autogeneratedpasswordformgoogle'

Protocol is used as


for other dynamic dns servers but for google


works not the first one. its important to set option


if this option is not set the ddclient will take the local interface ip instead of the actual IP address of your broadband WAN interface.

Once configuration is done save the file and restart the client .

pi@raspberrypi:~ $ sudo service ddclient restart

To verify the setup and ip run the following command.

pi@raspberrypi:~ $ sudo ddclient -query

Match the output ip with your google domain console.

Originally published at on August 8, 2018.




IT Infrastructure Specialist , Open-source enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Poly Network AMA Events with RioDefi

The Challenges of Building Remote Patient Monitoring Systems

Introduction to OOP

Kafka on Kubernetes, the Strimzi way! (Part 1)

Construct Target Array With Multiple Sums || LeetCode || Java Solution

Raspberry Pi-Zero ArduPilot

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Affan Javid

Affan Javid

IT Infrastructure Specialist , Open-source enthusiast

More from Medium

How to Install and Use Curl on Ubuntu 22.04

Simple Raspberry Pi Lite setup with SSH and VS Code from Linux Mint

Installing Manjaro Linux on a Macbook Pro 12,1

Make a Clone of Customized Raspbian OS