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

GoDaddy Provider Domain Not Found Error #182

Open
wf-aw opened this issue Jul 22, 2024 · 3 comments
Open

GoDaddy Provider Domain Not Found Error #182

wf-aw opened this issue Jul 22, 2024 · 3 comments

Comments

@wf-aw
Copy link

wf-aw commented Jul 22, 2024

I'm getting a "domain not found" error for a domain that we purchased through Godaddy but the records are being hosted elsewhere (the only records in Godaddy are NS records). I'm assuming this will happen for any other domains like this but it didn't get to that point after erroring out.

Traceback (most recent call last):\n File "/var/task/./dnsReaper/main.py", line 149, in <module>\n asyncio.run(main())\n File "/var/lang/lib/python3.11/asyncio/runners.py", line 190, in run\n return runner.run(main)\n ^^^^^^^^^^^^^^^^\n File "/var/lang/lib/python3.11/asyncio/runners.py", line 118, in run\n return self._loop.run_until_complete(task)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/var/lang/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete\n return future.result()\n ^^^^^^^^^^^^^^^\n File "/var/task/./dnsReaper/main.py", line 104, in main\n domains = list(provider.fetch_domains(**args.__dict__))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/var/task/dnsReaper/providers/godaddy.py", line 104, in fetch_domains\n records = api.get_records(domain).json()\n ^^^^^^^^^^^^^^^^^^^^^^^\n File "/var/task/dnsReaper/providers/godaddy.py", line 49, in get_records\n raise DomainNotFoundError(domain)\nproviders.godaddy.DomainNotFoundError: Domain not found: <redacted>.net\n')

@SimonGurney
Copy link
Contributor

So the error is caused because you have a domain in GoDaddy but it's configured for dns hosting elsewhere and GoDaddy just points NS records to that other provider?

@SimonGurney
Copy link
Contributor

If so, we'll try to reproduce and handle this better.

For now, you can manually list the domains you want to ingest (comma separated) with --gd-domains

@wf-aw
Copy link
Author

wf-aw commented Jul 22, 2024

So the error is caused because you have a domain in GoDaddy but it's configured for dns hosting elsewhere and GoDaddy just points NS records to that other provider?

Yes this is correct. And ok thank you, I'll do that for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants