Commit Graph

38 Commits

Author SHA1 Message Date
AuxXxilium
9a3dae1756 Update host.go
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
2024-08-05 19:25:05 +02:00
AuxXxilium
22ef53f247 Update go.mod
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
# Conflicts:
#	dyndns/go.mod
2024-08-05 19:24:33 +02:00
AuxXxilium
c7a13b40b1 Update ip.go
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
# Conflicts:
#	dyndns/nswrapper/ip.go
2024-08-05 19:23:42 +02:00
AuxXxilium
7685e2adcf tree: rework
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
2024-08-05 12:25:34 +02:00
Benjamin Bärthlein
bb154d5385 Use fqdn validator for domain name 2024-05-27 23:56:34 +02:00
Benjamin Bärthlein
d589058a78 bump go mod 1.22 2024-05-20 16:07:57 +02:00
Benjamin Bärthlein
71411eedf5 Save updated ip to host entry 2024-05-20 14:09:48 +02:00
Benjamin Bärthlein
f7f84557f6 update golang 1.22 dependencies 2024-05-20 02:36:00 +02:00
Benjamin Bärthlein
083c296daa
bump dependencies to golang 1.20 2023-05-25 23:13:59 +02:00
devn1x
813491f73a
Add ipv6 as acceptable format of ip address 2023-01-08 01:00:24 +01:00
benjaminbear
f65012480f
Merge pull request #21 from benjaminbear/allow_short_usernames
allow usernames with min 3 chars
2022-05-29 15:49:37 +02:00
benjaminbear
0f8b4b578d
allow usernames with min 3 chars 2022-05-29 15:44:28 +02:00
w3K
9c38e33f07
Fix 404 errors on updates
Before change you get these errors constantly on any host ip update:

{"time":"2022-05-09T19:03:38.40895553Z","id":"","remote_ip":"69.1.2.3","host":"ddns.domain.com","method":"GET","uri":"/nic/update?system=dyndns&hostname=test1.ddns.domain.com&myip=&wildcard=OFF&mx=NO&backmx=NO&offline=NO","user_agent":"Hikvision-dvrdvs-1.0.0","status":404,"error":"code=404, message=Not Found","latency":895808,"latency_human":"895.808µs","bytes_in":0,"bytes_out":24}
{"time":"2022-05-09T19:03:40.496361052Z","id":"","remote_ip":"69.3.2.1","host":"ddns.domain.com","method":"GET","uri":"/nic/update?system=dyndns&hostname=test2.ddns.domain.com&myip=&wildcard=OFF&mx=NO&backmx=NO&offline=NO","user_agent":"Hikvision-dvrdvs-1.0.0","status":404,"error":"code=404, message=Not Found","latency":796442,"latency_human":"796.442µs","bytes_in":0,"bytes_out":24}
{"time":"2022-05-09T19:03:45.375560893Z","id":"","remote_ip":"69.4.4.4","host":"ddns.domain.com","method":"GET","uri":"/nic/update?system=dyndns&hostname=test3.ddns.domain.com&myip=&wildcard=OFF&mx=NO&backmx=NO&offline=NO","user_agent":"Hikvision-dvrdvs-1.0.0","status":404,"error":"code=404, message=Not Found","latency":774547,"latency_human":"774.547µs","bytes_in":0,"bytes_out":24}

After change... hosts are updated... no issues.
2022-05-28 19:14:06 -04:00
Ben
f09088308d bump go 1.18.2 2022-05-26 18:09:48 +02:00
Malte
6e81572536 added custom logout url 2022-04-12 17:00:52 +02:00
Malte
47cb9e742a added wildcard option 2022-04-06 10:58:41 +02:00
Malte
217cb2a575 fixed clear logs 2022-04-06 09:05:06 +02:00
Malte
7e415a710f removed special characters in random password function as some characters causing issues in urls 2022-04-05 23:51:39 +02:00
Malte
561a800a1a added more parameters for authentication (host & domain) 2022-04-05 17:55:02 +02:00
Malte
6432c042f5 replaced AuthHost by context set&get 2022-04-05 17:28:17 +02:00
Malte
c60db60647 fixed copy to clipboard function 2022-04-05 08:19:12 +02:00
Malte
74fb59e452 added go.sum 2022-04-05 00:08:13 +02:00
Malte
d84c3352a9 - switched all admin routes to /admin/...
- auto redirect from ./ to ./admin
- enabled two auth flows (admin and update)
- disabled auth for admin by skipping env variable DDNS_ADMIN_LOGIN
- introduced optional env variable DDNS_TITLE for dynamic UI title (default TheBBCloudDynDNS)
- set copyright date in footer dynamic on startup
- moved all remote js/css packages into static in order to avoid external dependencies
- added "copy to clipboard button" on host overview page
- replaced all fmt.Println to log...
- introduced new optional env variable DDNS_CLEAR_LOG_INTERVAL to clear logs after n days (int). (check runs daily once if update request received)
- newest logs are shown from top to button on logs page
2022-04-04 13:03:25 +02:00
Ben
8ae1f7edcf fix model validation and preloading 2021-07-28 23:16:13 +02:00
Ben
3be71a2f10 bump to golang 1.16 2021-07-28 22:33:08 +02:00
Ben
67a2d81992 force javascript update 2021-07-28 22:16:27 +02:00
Ben
711f80b3a2 add cname files 2021-07-28 22:03:37 +02:00
Ben
dbc137366e add cname managment, check for used hostnames, fix menu button highlighting 2021-07-28 22:02:59 +02:00
Ben
3884ff5a09 replace layout example index with listing hosts 2021-07-27 21:17:57 +02:00
Ben
2eebbcda9c Added dyndns compatible api 2021-07-27 16:02:37 +02:00
Ben
ef96496474 Added more documentation and prepared some structural changes 2021-07-27 13:12:16 +02:00
Benjamin Bärthlein
3ad186bcb4 added error messages to logs and implemented visibility via tooltips 2020-04-29 10:43:22 +02:00
Benjamin Bärthlein
3bf506cbba replaced integrated css and js binaries with cdn links 2020-04-29 10:42:12 +02:00
Benjamin Bärthlein
dfba93a18d clean up logout script 2020-04-27 21:21:54 +02:00
Benjamin Bärthlein
aa147a6853 add support for multiple domains 2020-04-27 20:37:22 +02:00
Benjamin Bärthlein
890ffed035 clean action scripts 2020-04-27 08:10:56 +02:00
Benjamin Bärthlein
4ee5362d59 remove unnecessary css and js files 2020-03-28 19:33:25 +01:00
Benjamin Bärthlein
c4809b85b4 initial commit 2020-03-28 17:56:11 +01:00