Warning: I believe the paths to be outdated, as DDClient docs point to /etc/ddclient/ddclient.conf instead of /etc/ddclient.conf. However, this document should still work regardless.
Quick and easy steps to get DDClient running with Namecheap and as a systemd service on Ubuntu Server OS.