mrmichaelrb / hassio-addons

Docker add-ons for Home Assistant
Apache License 2.0
8 stars 15 forks source link

No subdomain? #7

Open Jeppedy opened 2 years ago

Jeppedy commented 2 years ago

I don't want to use a subdomain with this utility, I want it to update the base domain's IP. But the subdomain says it's required, not optional. Thoughts?

mrmichaelrb commented 2 years ago

I don't know which DNS add-on you are referring to (GoDaddy DNS or Google Cloud DNS), but everything is a subdomain (unless you have your own TLD, in which case, nice), so try something like this for my-domain.com:

domain: com
hostname: my-domain

I haven't tested it, but I think it will probably work.

Jeppedy commented 2 years ago

No go... You've got a pattern match test that prohibits it from working... I'd really love to be able to update the IP for theherrs.com with no further subdomain.

{"code":"INVALID_BODY","fields":[{"code":"MISMATCH_FORMAT","message":"does not conform to the 'domain' format, based on pattern: /^[^.\s]{1,63}(\.[^.\s]{1,63}){1,2}$/","path":"path.domain"}],"message":"Request body doesn't fulfill schema, see details in fields"}

On Thu, Jul 7, 2022, 22:12 Michael Brown @.***> wrote:

I don't know which DNS add-on you are referring to (GoDaddy DNS or Google Cloud DNS), but everything is a subdomain (unless you have your own TLD, in which case, nice), so try something like this for my-domain.com:

domain: com hostname: my-domain

I haven't tested it, but I think it will probably work.

— Reply to this email directly, view it on GitHub https://github.com/mrmichaelrb/hassio-addons/issues/7#issuecomment-1178493965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY6RWU2NAGFDWKALPADVS6MCRANCNFSM527PQUEA . You are receiving this because you authored the thread.Message ID: @.***>

Jeppedy commented 1 year ago

I'll give it a try! And yes, I have my own domain (theherrs.com) through GoDaddy

On Thu, Jul 7, 2022, 22:12 Michael Brown @.***> wrote:

I don't know which DNS add-on you are referring to (GoDaddy DNS or Google Cloud DNS), but everything is a subdomain (unless you have your own TLD, in which case, nice), so try something like this for my-domain.com:

domain: com hostname: my-domain

I haven't tested it, but I think it will probably work.

— Reply to this email directly, view it on GitHub https://github.com/mrmichaelrb/hassio-addons/issues/7#issuecomment-1178493965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY6RWU2NAGFDWKALPADVS6MCRANCNFSM527PQUEA . You are receiving this because you authored the thread.Message ID: @.***>