Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate support for Namecheap Nameservers #46

Open
0xbharath opened this issue Sep 30, 2024 Discussed in #44 · 5 comments
Open

Integrate support for Namecheap Nameservers #46

0xbharath opened this issue Sep 30, 2024 Discussed in #44 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers hackathon Should be picked up during hackathons hacktoberfest hacktoberfest issues help wanted Extra attention is needed

Comments

@0xbharath
Copy link
Collaborator

Discussed in #44

Originally posted by 0xbharath September 9, 2024
Folks,

I have written a simple Python script that can list all the subdomains for a given domains on Namecheap Nameservers via API access. Can we work on integrating this script?

https://gist.github.com/0xbharath/cb4a0d35b2031255e9e8c63d14f074bd

@0xbharath 0xbharath added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed hackathon Should be picked up during hackathons hacktoberfest hacktoberfest issues labels Sep 30, 2024
@madhav6ram
Copy link
Contributor

Hi, I am looking at this issue. It seems to be similar to this commit adding Cloudflare DNS support. Should i go ahead with aiohttp for async requests? I am not eligible for the API access, so I will not be able to test it.

@0xbharath
Copy link
Collaborator Author

@Prateek-Thakare Can you help here?

@Prateek-Thakare
Copy link
Collaborator

Hey @madhav6ram
For any request, please use the BaseRequestExecutor to send the request. Also please make sure you test the integration before making a pull request.
Feel free to post your queries here.

@madhav6ram
Copy link
Contributor

Hi @Prateek-Thakare
Sorry for late reply. I just want to clarify if using BaseRequestExecutor is correct. Since its using the requests library, it is not async compatible. I have written a script using BaseRequestExecutor regardless.

I am testing it with the sandbox API (https://api.sandbox.namecheap.com/xml.response). But I always get Domain name not found as the response even if it seems to be using Namecheap (I checked via https://www.namecheap.com/domains/whois/). Can you please provide a domain that would work as an example?

@0xbharath
Copy link
Collaborator Author

0xbharath commented Oct 12, 2024

@madhav6ram As discussed on Discord, this is because the sample request in Namecheap docs uses namecheap.com for the examples. This domain doesn't exist on your nameserver instance.

I can provide a sample working setup (API key) for Namecheap, if necessary. Let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hackathon Should be picked up during hackathons hacktoberfest hacktoberfest issues help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants