{"id":47132614,"url":"https://github.com/connerwill/dynu-dns-update","last_synced_at":"2026-03-12T21:00:16.507Z","repository":{"id":336535706,"uuid":"1150063509","full_name":"ConnerWill/dynu-dns-update","owner":"ConnerWill","description":"DYNU Dynamic DNS Update Script","archived":false,"fork":false,"pushed_at":"2026-02-04T22:06:14.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-05T10:38:16.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.dynu.com/DynamicDNS/IP-Update-Protocol","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConnerWill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-04T20:53:54.000Z","updated_at":"2026-02-04T22:06:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ConnerWill/dynu-dns-update","commit_stats":null,"previous_names":["connerwill/dynu-dns-update"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ConnerWill/dynu-dns-update","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerWill%2Fdynu-dns-update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerWill%2Fdynu-dns-update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerWill%2Fdynu-dns-update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerWill%2Fdynu-dns-update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnerWill","download_url":"https://codeload.github.com/ConnerWill/dynu-dns-update/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerWill%2Fdynu-dns-update/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30444290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T20:23:30.529Z","status":"ssl_error","status_checked_at":"2026-03-12T20:23:14.027Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-12T21:00:09.221Z","updated_at":"2026-03-12T21:00:16.500Z","avatar_url":"https://github.com/ConnerWill.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dynu-dns-update\n\nA bash script to automatically update your\n[Dynu](https://www.dynu.com) Dynamic DNS hostname with your current public IP.\nSupports IPv4 and optionally IPv6.\nDesigned to run safely from cron with state tracking.\n\n## Table of Contents\n\n\u003c!--toc:start--\u003e\n- [dynu-dns-update](#dynu-dns-update)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Setup](#setup)\n    - [Installation](#installation)\n      - [Install Script](#install-script)\n      - [Manual installation](#manual-installation)\n    - [Cron Setup](#cron-setup)\n    - [Logging](#logging)\n      - [Logrotate](#logrotate)\n  - [Links](#links)\n\u003c!--toc:end--\u003e\n\n## Features\n\n- Updates IPv4 and IPv6 addresses *(skips IPv6 if unavailable)*\n- Avoids conflicts with environment variables *(`DYNU_*` prefix)*\n- Cron-friendly with lockfile to prevent overlapping runs\n- Stores last known IP in a separate state file for comparison\n\n## Setup\n\n### Installation\n\n#### Install Script\n\nRun the `install.sh` script\n\n```bash\n./install.sh\n```\n\n#### Manual installation\n\nPlace the script in a location accessible to the user running cron. Common options\n\n- `/usr/local/bin/dynu-ddns-update.sh` *(system-wide)*\n- `~/bin/dynu-ddns-update.sh` *(user-specific)*\n\n```bash\nsudo install -vDm755 \"dynu-ddns-update.sh\" \"/usr/local/bin/dynu-ddns-update.sh\"\n```\n\nRun once manually to generate the configuration file\n\n```bash\n/usr/local/bin/dynu-ddns-update.sh\n```\n\nThis will create a configuration file at `~/.config/dynu-ddns-update/dynu_ddns.conf`\n\nEdit the configuration file\n\n```conf\nDYNU_USERNAME=\"your_username_here\"\nDYNU_PASSWORD=\"your_password_here\"\nDYNU_HOSTNAME=\"example.dynu.com\"\nUSE_SSL=true\nLOG_FILE=\"${XDG_STATE_HOME:-${HOME}/.local/state}/dynu-ddns/dynu-ddns-update.log\"\nSTATE_FILE=\"/var/tmp/dynu_ddns_state\"\n```\n\n### Cron Setup\n\nOpen your crontab for editing\n\n```bash\ncrontab -e\n```\n\nAdd the following line to run the updater every 10 minutes\n\n```console\n*/10 * * * * /usr/local/bin/dynu_ddns.sh\n```\n\n### Logging\n\nBy default, `dynu-ddns-update.sh` creates and logs to log file:\n\n- `${XDG_STATE_HOME:-${HOME}/.local/state}/dynu-ddns/dynu-ddns-update.log`\n\nThe log file path can be changed in the configuration file: `LOG_FILE`\n\n\u003e [!NOTE]\n\u003e If you are not root, choose a log file under your home directory,\n\u003e e.g. `~/dynu_ddns.log`. Make sure the path is writable.\n\n#### Logrotate\n\nOptional: Use `logrotate` to prevent logs from growing indefinitely\n\n```bash\nsudoedit /etc/logrotate.d/dynu-ddns-update\n```\n\n```console\n/home/*/.local/state/dynu-ddns/dynu-ddns-update.log {\n    weekly\n    rotate 4\n    compress\n    missingok\n    notifempty\n    create 644 user user\n}\n```\n\n\u003e [!NOTE]\n\u003e Change the path to the log file if you changed the default log path\n\n\u003e [!NOTE]\n\u003e Replace 'user user' with the username which is running the script.\n\n## Links\n\n- [Dynu IP Update Protocol docs](https://www.dynu.com/DynamicDNS/IP-Update-Protocol)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnerwill%2Fdynu-dns-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnerwill%2Fdynu-dns-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnerwill%2Fdynu-dns-update/lists"}