Open halgorvan opened 9 months ago
myip
paramater?Note for the time being, you can use the custom provider with your url (see the docs/custom.md page)
I received the answer from my provider. hosting.de supports IPv6. And for the parameter they were writing: it is ip6addr instead of ipaddr. I am not sure if they were referencing to the DynDNS service or the DNS service.
However, I'm using truecharts (on TrueNAS) and somehow they didn't implement this.
Ask them to bump it to version 2.6 🤔 Or just version 2 and it should get newer versions automatically
Pretty sure. I update only my domain, but no subdomains.
Can you try curling with the *.domain.com
to see if updates the wildcard A record correctly? Thanks!
I don't know what you mean with curling *.domain.com. Maybe I am on the wrong track, but I have several subdomains, like vault.simmy.org or hwiki.simmy.org, but I only update simmy.org and all subdomains point automatically to my public IP. That should qualify for wildcard updating. I haven'T created any subdomains on the DNS server.
Can you create a wildcard subdomain, and then try:
curl -v -I -X GET "https://<user>:<password>@ddns.hosting.de/nic/update?hostname=*.yourdomain.com&myip=1.2.3.4"
To see if it works? Or is this not an option on their site 🤔
Slightly related, I just added a guide to add a new provider if you want to give it a try eventually: https://github.com/qdm12/ddns-updater/blob/master/.github/CONTRIBUTING.md#add-a-new-dns-provider
I have a wildcard domain. And this is the command I use at the moment: curl -v -I -X GET "https://not-so-secret-username:super-secret-password@ddns.hosting.de/nic/update?hostname=simmy.org" I omit the parameter myip, because I send this command from my public IP address. It's working. However, I will try your docker-compose.yml on my portainer in the evening. This is maybe a better option than using truecharts on TrueNAS.
I have a wildcard domain.
Well it's a CNAME which acts the same, but could you add an A (or AAAA) wildcard record? For example *.test
owner, A type, and simmy.org domain, then request with *.test.simmy.org
to update it to check it works? Sorry to be paranoid on edge cases, but I've seen this not working for some dns registrars, despite them supporting wildcards via their web ui etc.
I tried it. I can't do it with AAAA, hence I don't have an IPv6 address. But an A record is ok. It seems to work. This is what I get after trying to update:
GET /nic/update?hostname=test.simmy.org HTTP/1.1 Host: ddns.hosting.de Authorization: Basic don't tell User-Agent: curl/7.88.1 Accept: /
<
I tested a little bit more. Despite the fact that I don't get an error message when I try to update, it doesn't update the record. A ping showed the truth. (my IP address is 85.195.229.42): ping robert.test.simmy.org PING robert.test.simmy.org (85.195.229.41) 56(84) bytes of data. 64 bytes from 85-195-229-41.fiber7.init7.net (85.195.229.41): icmp_seq=1 ttl=62 time=0.414 ms
I guess your paranoia is at the right place.
Support page: https://www.hosting.de/helpdesk/produkte/dns/dynamic-dns/ Unfortunately it's only in German.