feat(provider.namecom): add Name.com DNS provider support#629
Open
Copilot wants to merge 4 commits into
Open
Conversation
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for name.com DNS provider
feat(provider.namecom): add Name.com DNS provider support
Dec 20, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive support for Name.com as a DNS provider, implementing the full CRUD interface through their Core API with HTTP Basic Authentication. The implementation follows established project patterns and includes extensive test coverage and bilingual documentation.
Key changes:
- New BaseProvider implementation with HTTP Basic Auth using username and API token
- Enforces Name.com's minimum TTL requirement of 300 seconds
- 37 comprehensive test cases covering validation, CRUD operations, TTL enforcement, and integration workflows
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
ddns/provider/namecom.py |
Core provider implementation with full CRUD operations and TTL enforcement |
ddns/provider/__init__.py |
Provider registration with three aliases (namecom, name.com, name_com) |
tests/test_provider_namecom.py |
Comprehensive test suite with 37 test cases covering all provider functionality |
doc/providers/namecom.md |
Chinese documentation with configuration guide, examples, and troubleshooting |
doc/providers/namecom.en.md |
English documentation mirroring Chinese version |
doc/providers/README.md |
Added Name.com to provider index table |
doc/providers/README.en.md |
Added Name.com to English provider index table |
Owner
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Contributor
Author
Applied all changes from the review thread in commit 7fd32f2:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ddns/provider/namecom.py)NamecomProviderclass inheriting fromBaseProvider_request()method for authenticated API calls_query_zone_id()- use domain name as zone_id_query_record()- list and find DNS records_create_record()- create new DNS records_update_record()- update existing DNS recordsddns/provider/__init__.pywith aliases:namecom,name.com,name_comtests/test_provider_namecom.py) - 37 tests passingdoc/providers/namecom.md)doc/providers/namecom.en.md)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.