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

no host or badfqdn errors #18

Open
lordraiden opened this issue Feb 8, 2020 · 2 comments
Open

no host or badfqdn errors #18

lordraiden opened this issue Feb 8, 2020 · 2 comments

Comments

@lordraiden
Copy link

lordraiden commented Feb 8, 2020

first of all thanks for developing this.
I'm tying to make it work but i get "no host" or "badfqdn" errors, depending on how I configure it.

I'm using a domain like "example.com.es" it's a second level domain, could this be the problem?

I run this

run -d --name='OVH-dyndns-updater' --net='br0' --ip='192.168.1.82' -e TZ="Europe/Paris" -e HOST_OS="A" -e 'OVH_USERNAME'='example.com.es-user' -e 'OVH_PASSWORD'='examplepass' -e 'DOMAINS'='sub.example.com.es' 'sazap10/ovh-ip-updater-go'

Doing this I get a no host error

@lordraiden
Copy link
Author

Now I changed this OVH_USERNAME'='user'
and I get this error

2020/02/08 13:16:52 .env not provided, using environment variables instead
Settings domain: nextcloud.subzerocloud.com.es to ip: 83.45.128.245
2020/02/08 13:16:53

<title>401 Authorization Required</title>

Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.


Apache Server at www.ovh.com Port 443

@sazap10
Copy link
Owner

sazap10 commented Feb 10, 2020

Hi, could you try sending a request straight to ovh using something like curl -u username:password 'https://www.ovh.com/nic/update?system=dyndns&hostname=[YOUR_DOMAIN_NAME_HERE]&myip=[YOUR_IP_HERE]' and see if that works?

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