#HA won't update my Namecheap DNS entry
89 messages · Page 1 of 1 (latest)
is there anything in the log saying what the issue is?
its been a while since i messed with namecheap dns but i think you might have to create a dns entry on the control panel which can then be updated. i am not sure if it will be able to create one automagically
I have created the dynamic DNS password on the dashboard, which you use to update your DNS record.
I mean, it's all the same as DuckDNS, you just have to change the name for the integration before you do it, but I don't know if you can use DuckDNS and name cheap at the same time that might be the issue.
Like I have done everything like the instruction and the example tells you to do so, it is just not updating on the dashboard on namecheap.
its been years and was a different tool but i remember something about having to create a placeholder so it could update.
if theres nothing to update it failed because "does not exist"
when i made a palceholder it could get to "updated"
but this could be out of date stuff. best bet is to look at the logs and find out what its doing
Error during setup of component namecheapdns: Cannot connect to host dynamicdns.park-your-domain.com:443 ssl:default [Could not contact DNS servers]
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 103, in resolve
resp = await self._resolver.getaddrinfo(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
aiodns.error.DNSError: (11, 'Could not contact DNS servers')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1351, in _create_direct_connection
hosts = await self._resolve_host(host, port, traces=traces)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 995, in _resolve_host
return await asyncio.shield(resolved_host_task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1026, in _resolve_host_with_throttle
addrs = await self._resolver.resolve(host, port, family=self._family)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp_asyncmdnsresolver/_impl.py", line 130, in resolve
return await super().resolve(host, port, family)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 112, in resolve
raise OSError(None, msg) from exc
OSError: [Errno None] Could not contact DNS servers
But I can reach it just fine using Firefox
Pi-Hole is also not blocking it when using Firefox
cederick@manager:~$ ping dynamicdns.park-your-domain.com
PING dynamicdns.park-your-domain.com.cdn.cloudflare.net (104.22.62.177) 56(84) bytes of data.
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=1 ttl=58 time=14.2 ms
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=2 ttl=58 time=13.7 ms
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=3 ttl=58 time=28.4 ms
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=4 ttl=58 time=49.8 ms
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=5 ttl=58 time=74.3 ms
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=6 ttl=58 time=13.9 ms
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=7 ttl=58 time=20.2 ms
64 bytes from 104.22.62.177 (104.22.62.177): icmp_seq=8 ttl=58 time=40.7 ms
^C
--- dynamicdns.park-your-domain.com.cdn.cloudflare.net ping statistics ---
9 packets transmitted, 8 received, 11.1111% packet loss, time 12027ms
rtt min/avg/max/mdev = 13.677/31.888/74.263/20.354 ms
⬆️ Ping via server also works just fine
seems like your home assisstant is having dns issues of some sort. what type of install do you have?
Docker.. But duckdns.org integration just works fine
Double checked Pi-hole: [i] No results found for dynamicdns.park-your-domain.com.cdn.cloudflare.net within the adlists
UPDATE_URL = "https://dynamicdns.park-your-domain.com/update"
it looks like this is what its looking for
thats the cloudflare server
Yeah but that is what could not be reached according to the error message from HA.
Could it be that the integration is borked?
from your post above
Error during setup of component namecheapdns: Cannot connect to host dynamicdns.park-your-domain.com:443 ssl:default [Could not contact DNS servers]
Sorry my bad it is what I reach when I ping it via the Server ^^
dont worry about where the ping responce comes from
https://dynamicdns.park-your-domain.com/update can be reached from my home network via browser... Hmmm...
your dns config is failing you somewhere
You mean in configuration.yaml ?
Oh yeah I forgot my server isn't even using my Pi-hole but the DNS provided by my ISP
I set the DNS in the Fritz!Box to 1.1.1.1 and did a full reset
i dont imagine its anything there. its probably some way you have server or docker set up most likely
2025-02-15 14:59:35.438 WARNING (MainThread) [homeassistant.components.namecheapdns] Updating namecheap domain failed: xxxxx.onl
2025-02-15 14:59:35.438 ERROR (MainThread) [homeassistant.setup] Setup failed for 'namecheapdns': Integration failed to initialize.
But hey I got a new error
do you currently have the domain pointing at something as a placeholder?
e.g. point it at 127.0.0.1 on the namecheap control panel
then see if it can update
I'm in their support chat now and they see if it is an error on their side
i know this doesnt help for now but in the future probably best to move away from namecheap 😛
But it was cheap and the best page that I could find
yeah i get that, but theres a reason its cheap and people are moving away from it
All I need is a domain that points to my server since we have dynamic IPs here
I mean how hard can it be? .-.
You can change your DNS provider... you don't need to stick w/ Namecheap. You can use something like Cloudflare DNS for free
The error you're getting is on your side though with the inability to resolve that domain
I just bought the Domain on Namecheap
Sure... registrar doesn't need to be coupled w/ DNS
Their software for Windows just says A record not found
I'm not sure what their software you're referring to is, but the errors above are with your DNS configuration
i think we got passed that (not sure how though)
then make an A record in the namecheap control panel
It now dies before throwing an error in HA
the ddns tool updates an A record that you specify.
if there is not an A record for the domain you specify then it fails
are we still at this? i suspect its failing because there is no A record which is the same reaosn the windows client fails
You followed this? It'd be the same docs for both as mentioned ^
Well I have created an A + Dynamic record but I still can't connect to HA or my Minecraft Server
I used * for host to make sure because @ did nothing. Also used http and https in the network settings for external adress in HA
I hate this so much rn. How can duckdns be free and just work in comparision?
@ means no subdomain
I know
just wanted to check regardless and changed it back to @
so should look something like this:
out of curiosity does the windows app still do the same thing as it did before now its set like this?
No the windows app works
ping also works fine but I still can't connect to HA or the server despite having set the DNS-Rebind-Protection settings accordingly
Ok it now works and I have just waited some minutes
Now i just need to check if HA crashes the integration again
btw should I get a SSL certificate?
the correct answer to that question is "yes" but it probably depends on your use case and how security conscious you are
Also how can I check namecheap integration because I have 0 errors but no updated A record
change it to the wrong ip on thee control panel then restart the integration and see if it corrects it i guess
might need time to propagate though. i am not sure how the tools work
I restarted my router and have a new IP but it didn't get updated
duckdns has done it without any issues already
restart the integration. it probably doesnt poll that often
Can't find a button for it
I'm still wondering because both use the same logic and code but duckdns just works
Is it expensive to move with my domain?
What would be a good alternative?
usually you have to add 1 or 2 years worth of time to it. cloudflare tends to be easy to work with