{"id":48308439,"url":"https://github.com/hmlendea/dynamic-dns-updater-api","last_synced_at":"2026-04-05T00:12:35.707Z","repository":{"id":346568518,"uuid":"1190438765","full_name":"hmlendea/dynamic-dns-updater-api","owner":"hmlendea","description":"Lightweight ASP.NET Core API for updating DNS records through DNS provider integrations.","archived":false,"fork":false,"pushed_at":"2026-03-24T15:38:00.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-25T15:40:49.361Z","etag":null,"topics":["api","dns","dynamic-dns","dyndns","dyndns-updater","rest-api","self-hosted"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmlendea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":"hmlendea","open_collective":null,"ko_fi":"hmlendea","tidelift":null,"community_bridge":null,"liberapay":"HMlendea","issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"hmlendea","thanks_dev":null,"custom":"https://hmlendea.go.ro/fund.html"}},"created_at":"2026-03-24T09:31:52.000Z","updated_at":"2026-03-24T15:39:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hmlendea/dynamic-dns-updater-api","commit_stats":null,"previous_names":["hmlendea/dynamic-dns-updater-api"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hmlendea/dynamic-dns-updater-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fdynamic-dns-updater-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fdynamic-dns-updater-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fdynamic-dns-updater-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fdynamic-dns-updater-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmlendea","download_url":"https://codeload.github.com/hmlendea/dynamic-dns-updater-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fdynamic-dns-updater-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31419555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":["api","dns","dynamic-dns","dyndns","dyndns-updater","rest-api","self-hosted"],"created_at":"2026-04-05T00:12:35.114Z","updated_at":"2026-04-05T00:12:35.700Z","avatar_url":"https://github.com/hmlendea.png","language":"C#","funding_links":["https://patreon.com/hmlendea","https://ko-fi.com/hmlendea","https://liberapay.com/HMlendea","https://buymeacoffee.com/hmlendea","https://hmlendea.go.ro/fund.html"],"categories":[],"sub_categories":[],"readme":"[![Donate](https://img.shields.io/badge/-%E2%99%A5%20Donate-%23ff69b4)](https://hmlendea.go.ro/fund.html) [![Latest Release](https://img.shields.io/github/v/release/hmlendea/dynamic-dns-updater-api)](https://github.com/hmlendea/dynamic-dns-updater-api/releases/latest) [![Build Status](https://github.com/hmlendea/dynamic-dns-updater-api/actions/workflows/dotnet.yml/badge.svg)](https://github.com/hmlendea/dynamic-dns-updater-api/actions/workflows/dotnet.yml)\n\n# Dynamic DNS Updater API\n\n# About\n\nLightweight ASP.NET Core API for updating DNS records through DNS provider integrations.\n\n## Features\n\n- Update DNS records over HTTP\n- Skip provider updates when DNS resolution already returns the requested IP\n- API-key protected endpoint\n- Replay protection and request logging\n- Provider-based integration architecture\n- Gandi LiveDNS integration included\n\n## Getting Started\n\n1. Clone the repository.\n2. Configure settings in appsettings.json.\n3. Run the API:\n\n```bash\ndotnet run\n```\n\nBy default, the API listens on the local ASP.NET Core development URLs.\n\n## Configuration\n\nThe app reads settings from appsettings.json.\n\n```json\n{\n\t\"securitySettings\": {\n\t\t\"apiKey\": \"your-api-key\"\n\t},\n\t\"gandiSettings\": {\n\t\t\"apiKey\": \"your-gandi-api-key\"\n\t},\n\t\"nuciLoggerSettings\": {\n\t\t\"logFilePath\": \"logfile.log\",\n\t\t\"isFileOutputEnabled\": true\n\t}\n}\n```\n\n### Settings\n\n- securitySettings.apiKey: API key used to authorize client requests.\n- gandiSettings.apiKey: Gandi LiveDNS API key.\n- nuciLoggerSettings: NuciLog configuration.\n\n## API\n\n### Update DNS record\n\n- Method: PUT\n- Route: /DnsRecords/{domainName}\n- Body:\n\n```json\n{\n\t\"ip\": \"203.0.113.42\",\n\t\"provider\": \"Gandi\"\n}\n```\n\n### Example\n\n```bash\ncurl -X PUT \"https://localhost:5001/DnsRecords/home.example.com\" \\\n\t-H \"Content-Type: application/json\" \\\n\t-d '{\"ip\":\"203.0.113.42\",\"provider\":\"Gandi\"}'\n```\n\nInclude the authorization and anti-replay headers expected by the configured NuciAPI middleware.\n\n## Notes\n\n- Currently supported provider: Gandi\n- Domain must include a subdomain (for example: home.example.com)\n- The integration updates an A record with TTL 300\n\n## Development\n\nBuild:\n\n```bash\ndotnet build\n```\n\nRun tests (if added later):\n\n```bash\ndotnet test\n```\n\n## Release\n\nUse the helper script:\n\n```bash\n./release.sh v1.0.0\n```\n\n## Related projects\n\n- [Dynamic DNS Updater API](https://github.com/hmlendea/dynamic-dns-updater-api)\n- [Dynamic DNS Updater Client](https://github.com/hmlendea/dynamic-dns-updater-client)\n\n## Target Framework\n\nThe current package targets `.NET 10.0`.\n\n## License\n\nThis project is licensed under the `GNU General Public License v3.0` or later. See [LICENSE](./LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmlendea%2Fdynamic-dns-updater-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmlendea%2Fdynamic-dns-updater-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmlendea%2Fdynamic-dns-updater-api/lists"}