rytrix DDNS

Free dynamic DNS on a Raspberry Pi

The rytrix DDNS client runs in the background on a Raspberry Pi and keeps a hostname pointed at your home IP, so you can reach the Pi from anywhere.

  1. Register a hostname

    Create a free account and register a host, for example pi. Your full hostname is then pi.d.rytrix.com. Copy the token the dashboard shows you. It's only shown once, and you can roll a new one at any time.

  2. Install the client

    The rytrix command-line client runs on 64-bit Raspberry Pi OS and other 64-bit Linux distributions. Check with uname -m: it should print aarch64. Then install it:

    curl -fsSL https://raw.githubusercontent.com/ryansonshine/rytrix-ddns-client/main/install.sh | sh

    The script downloads the latest release, checks its SHA-256 checksum, and puts rytrix-ddns on your PATH.

  3. Connect it to your hostname

    rytrix-ddns setup

    Enter pi.d.rytrix.com and your token when asked. It sends a test update and prints the IP your hostname now points at.

  4. Keep it running

    rytrix-ddns install
    sudo loginctl enable-linger $USER

    install adds a systemd service. The second command lets it start at boot and keep running after you log out. The client checks your IP every 5 minutes, updates only when it changes, and checks in once a day so the host never expires. Read its log with journalctl --user -u rytrix-ddns.

  5. Use it

    Forward a port on your router to the Pi and reach it from anywhere at pi.d.rytrix.com. Every name below it, such as app.pi.d.rytrix.com, resolves to the same address. For HTTPS, point acme.sh, Traefik or Caddy at the acme-dns API to get a free Let's Encrypt certificate, wildcards included.

    The client is open source on GitHub.

Other guides: Free dynamic DNS on a UniFi router