skibish / ddns

Personal DDNS client with Digital Ocean Networking DNS as backend.
MIT License
254 stars 24 forks source link

Request failed #14

Closed tudor-pop closed 5 years ago

tudor-pop commented 5 years ago

Hello, I just installed the binary and have setup the .ddns.yml but for some reason I get time="2019-07-15T13:51:50+03:00" level=fatal msg="digitalocean: Request Failed" and don't know what it means. The config file looks like this but with valid token and domain image

Do you have any idea what it could be? Do I have to do some port forwarding? Thank you!

skibish commented 5 years ago

Hi!

I'm currently in the business trip, will be able to answer a little bit later fully.

But:

On Mon, Jul 15, 2019, 18:36 Tudor notifications@github.com wrote:

Hello, I just installed the binary and have setup the .ddns.yml but for some reason I get time="2019-07-15T13:51:50+03:00" level=fatal msg="digitalocean: Request Failed" and don't know what it means. The config file looks like this but with valid token and domain [image: image] https://user-images.githubusercontent.com/4589309/61213484-d9ae4100-a70d-11e9-9533-9115a2af94a3.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/skibish/ddns/issues/14?email_source=notifications&email_token=ABJZWK7DVY27JCFJJEVMOVDP7ROKPA5CNFSM4IDV3FTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7GJZUA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJZWK4BKY6HFVQXS624UWTP7ROKPANCNFSM4IDV3FTA .

tudor-pop commented 5 years ago

Thanks for answering! I think is the second issue. On DigitalOcean I have the setup as [A | hostname(domain.com) | value(some ip)] but what do I set inside .ddns.yml on the "name" field? If I leave www(as in image above) it won't work because A record must be domain name. If I write domain.com, it will work but it will create a new A record with value domain.com.domain.com. Leaving name empty also doesn't work. So basically if I specify A record, it will create a subdomain else the app runs but won't update on DO

skibish commented 5 years ago

Try to specify

type:"A"
name: "@"

On Tue, Jul 16, 2019, 03:14 Tudor notifications@github.com wrote:

Thanks for answering! I think is the second issue. On DigitalOcean I have the type record [A | hostname(domain.com) | value(some ip)] but what do I set inside .ddns.yml? If I leave www(as in image above) it won't work because A record must be domain name. If I write domain.com, it will work but it will create on digital ocean a new A record with value domain.com.domain.com

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/skibish/ddns/issues/14?email_source=notifications&email_token=ABJZWK6FRZVQ3HFPAWNWA33P7TLCLA5CNFSM4IDV3FTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ62WFA#issuecomment-511552276, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJZWK63LHQ245WIHYXIHR3P7TLCLANCNFSM4IDV3FTA .

tudor-pop commented 5 years ago

hah it works! it is weird because I tried that once and it did not work. I'm closing this.

Thank you again!