{"id":21448030,"url":"https://github.com/windsting/update-namesilo-record","last_synced_at":"2025-03-17T02:09:23.487Z","repository":{"id":39873218,"uuid":"199285826","full_name":"windsting/update-namesilo-record","owner":"windsting","description":"Update the ipaddress for a record in https://www.namesilo.com, like myhome-dynamic-ip.example.com","archived":false,"fork":false,"pushed_at":"2022-12-04T08:47:01.000Z","size":165,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T11:45:26.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/windsting999/update-namesilo-record","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windsting.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}},"created_at":"2019-07-28T12:42:21.000Z","updated_at":"2020-05-19T04:37:44.000Z","dependencies_parsed_at":"2022-08-27T12:52:34.123Z","dependency_job_id":null,"html_url":"https://github.com/windsting/update-namesilo-record","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windsting%2Fupdate-namesilo-record","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windsting%2Fupdate-namesilo-record/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windsting%2Fupdate-namesilo-record/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windsting%2Fupdate-namesilo-record/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windsting","download_url":"https://codeload.github.com/windsting/update-namesilo-record/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960665,"owners_count":20375104,"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":[],"created_at":"2024-11-23T03:13:50.023Z","updated_at":"2025-03-17T02:09:23.467Z","avatar_url":"https://github.com/windsting.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Update IP address for namesilo record\n\nUpdate the ip address for a record in [namesilo](https://www.namesilo.com), like `myhome-dynamic-ip.example.com`. what is the purpose of that, well, because of:\n\n1. I don't have a dedicated IP address in my home\n1. I don't like those DDNS services, terms of service looks like traps\n1. I do have a domain name registered on [namesilo](https://www.namesilo.com)\n\nwith a local public IP fetched from free service, requests to two api:\n\n* [dnsListRecords](https://www.namesilo.com/api_reference.php#dnsListRecords)\n* [dnsUpdateRecord](https://www.namesilo.com/api_reference.php#dnsUpdateRecord)\n\nAll it does is just:\n\n![update_namesilo_record_flowchart](./resources/update_namesilo_record_flowchart.svg)\n\n## prerequisite for using\n\nI'm gonna use `myhome-dynamic-ip.example.com` as the **example**, so just replace them with your own values.\n\n- **Your API Key**: get it from [namesilo API manager page](https://www.namesilo.com/account/api-manager)\n- **Your domain name**: the `example.com` part in **example**\n- **Your record name**: the `myhome-dynamic-ip` part in **example**\n\n## docker usage\n\n`docker run --name update-ns-ip --env API_KEY=your-api-key --env DOMAIN=your-domain.com --env RECORD_NAME=your-record-name windsting999/update-namesilo-record`\n\nDon't forget to replace those environment variable(i.e. `your-api-key`, `your-domain.com`, `your-record-name`) to your own values, read the **prerequisite for using** part for getting them.\n\nWith command above, selected the **golang** version, because tags **latest** and **golang** refer to the same image, and there are some other version, check them on the [tags page](https://hub.docker.com/r/windsting999/update-namesilo-record/tags).\n\nIf you prefer use it without [docker](https://www.docker.com/), please read those README.md in their corresponding directory.\n\n## environment variable\n\nTo provide prerequired values, use these environment variables, they were mentioned in `docker usage` section:\n\n* `API_KEY`: Your API Key\n* `DOMAIN`: Your domain name\n* `RECORD_NAME`: Your record name\n\nIn addition to those mandatary environment variable, here is some customizable ones:\n\n* `IP_ECHO`: url for public service to fetch local public IP\n\n  default value is `http://icanhazip.com`\n\n  change it in case of default service not working\n\n* `CHECK_INTERVAL_SECONDS`: seconds to sleep after every iteration\n\n  default value is `60`, one minute\n\n* `PRINT_SAME_COUNT_STEP`: update with same IP, after this count of iteration\n\n  default value is `360`, about every six hours\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindsting%2Fupdate-namesilo-record","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindsting%2Fupdate-namesilo-record","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindsting%2Fupdate-namesilo-record/lists"}