{"id":18474632,"url":"https://github.com/ibizaman/godaddyip","last_synced_at":"2025-07-06T08:04:29.822Z","repository":{"id":46870658,"uuid":"135976262","full_name":"ibizaman/godaddyip","owner":"ibizaman","description":"Maintains A and CNAME records matching current ip in Godaddy.","archived":false,"fork":false,"pushed_at":"2025-06-10T09:14:25.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-10T10:28:52.064Z","etag":null,"topics":["arecord","cname","godaddy-ddns","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibizaman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-06-04T05:47:32.000Z","updated_at":"2025-06-10T09:14:25.000Z","dependencies_parsed_at":"2024-05-05T07:23:36.375Z","dependency_job_id":"fbc995be-1797-44e7-a1bb-2af0e8eadc39","html_url":"https://github.com/ibizaman/godaddyip","commit_stats":{"total_commits":13,"total_committers":3,"mean_commits":4.333333333333333,"dds":"0.46153846153846156","last_synced_commit":"0dd24a20cd4ec5d7028a9ad25f854d14317066c7"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ibizaman/godaddyip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibizaman%2Fgodaddyip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibizaman%2Fgodaddyip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibizaman%2Fgodaddyip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibizaman%2Fgodaddyip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibizaman","download_url":"https://codeload.github.com/ibizaman/godaddyip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibizaman%2Fgodaddyip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261037159,"owners_count":23100933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["arecord","cname","godaddy-ddns","python3"],"created_at":"2024-11-06T10:30:07.910Z","updated_at":"2025-06-20T23:37:01.876Z","avatar_url":"https://github.com/ibizaman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Godaddy IP\n\nMaintains A and CNAME records matching current ip in Godaddy.\n\n## Install\n```\npip install godaddyip\n```\n\nThis installs a script called `godaddyip`.\n\n## Example use case\n\nWith the following configuration file, the daemon will maintain one A\nrecord named `my.domain.com` to the ip of the server the daemon is\nrunning on. It will also maintain two CNAME records\n`www.my.domain.com` and `mail.my.domain.com` to `my.domain.com`.\n\n```yaml\narecord: my\nkey:     mygodaddykey\nsecret:  mygodaddysecret\ndomain:  domain.com\ncnames:\n  - www\n  - mail\n```\n\n## Configuration\n\nConfiguration files are searched in one of the following\nlocations. Last configuration file found takes precendence.\n* `/etc/godaddyip/godaddyip.yaml`\n* `~/.config/godaddyip/godaddyip.yaml`\n* `./config/godaddyip.yaml`\n\nYou can override the above list of searched paths by giving the\n`--config_files=path[,path,...]` argument.\n\nAdding or removing rules to a configuration file is done by using the\n`configure` argument:\n\n```\ngodaddyip \u003cconfig_file.yaml\u003e arecord ARECORD\ngodaddyip \u003cconfig_file.yaml\u003e key KEY\ngodaddyip \u003cconfig_file.yaml\u003e secret SECRET\ngodaddyip \u003cconfig_file.yaml\u003e domain DOMAIN\ngodaddyip \u003cconfig_file.yaml\u003e add-cname CNAME\ngodaddyip \u003cconfig_file.yaml\u003e del-cname CNAME\n```\n\n## Run\n\nRunning the daemon is done by using the `run` argument:\n\n```\ngodaddyip run [--config_files CONFIG_FILES]\n```\n\nExample output:\n```\n$ python -m godaddyip run --config_files test.yaml\nCurrent ip: \"100.99.98.97\"\nPrevious ip: \"None\"\nSleeping for 5 minutes.\nCurrent ip: \"100.99.98.97\"\nPrevious ip: \"100.99.98.97\"\nSame ip as previous one, nothing to do\nSleeping for 5 minutes.\n```\n\n## Using systemd\n\nThe daemon can start when the system starts by creating a systemd unit\nfile like the following one in\n`/etc/systemd/system/godaddyip.service`.\n\n```\n[Unit]\nDescription=Godaddy ip service\nAfter=network.target\n\n[Service]\nUser=godaddyip\nGroup=godaddyip\nExecStart=/usr/bin/godaddyip run\nExecReload=/bin/kill -s usr1 $MAINPID\n\n[Install]\nWantedBy=default.target\n```\n\nI advice running the daemon with a non-root user. A system user can be\ncreated with `useradd --system godaddyip`.\n\n# Unit tests\n\nTo run unit tests locally do the following:\n\n- `python3 -m venv --upgrade-deps /tmp/tg`\n- `/tmp/tg/bin/python godaddyip/tests.py -v`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibizaman%2Fgodaddyip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibizaman%2Fgodaddyip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibizaman%2Fgodaddyip/lists"}