godns icon indicating copy to clipboard operation
godns copied to clipboard

Can't start on windows service + duckdns

Open Buster14 opened this issue 3 years ago • 5 comments

"windows could not start GoDNS on local computer, the service did not return an error" Here's the config file, i have put config.json on the same folder on godns.exe as instructed

{ "provider": "DuckDNS", "email" : "[email protected]", "password": "test", "login_token": "b82b123d-809afa3214", "domains": [ { "domain_name": "test.duckdns.org", } ], "ip_url": "192.168.200.200", "ip_type": "IPv4", "interval": 300, "resolver": "8.8.8.8", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36", "ip_interface": "ethernet 4" }

Buster14 avatar Jan 11 '21 05:01 Buster14

Update : the service is working now, i followed the format in your example, but the ddns hasnt worked yet. Most likely because it's tied to the wrong interface on my server, i tried to ping it but it returns ip of the wrong interface, so the ip_interface function is not working i think?

Buster14 avatar Jan 11 '21 07:01 Buster14

The ip_interface function works for Linux, Windows is not tested yet. I don't have a Windows environment, so...

TimothyYe avatar Jan 16 '21 09:01 TimothyYe

Anything i can do to help? Maybe you could utilize https://r1ch.net/projects/forcebindip

Buster14 avatar Jan 19 '21 23:01 Buster14

Just wanted to say that ip_interface option does work in windows and I'm using it. The interface name is same as adapter name, usually Ethernet and WiFi, and is case sensitive.

demifiend9 avatar Mar 08 '22 11:03 demifiend9

@demifiend9 Thanks for your feedback.

TimothyYe avatar Mar 08 '22 13:03 TimothyYe