Commit Graph

47 Commits

Author SHA1 Message Date
m5r
c3220327e1
remove CGO_ENABLED=0 & introduce compose file 2024-07-20 03:18:49 +02:00
m5r
b97b2f2131
move certs to ./.lego directory 2024-07-20 02:43:52 +02:00
m5r
43788570ee
auto upgrade server to https when certificates are ready 2024-07-19 12:32:11 +02:00
m5r
61cf3ec24d
structured logs 2024-07-19 02:38:13 +02:00
m5r
c202885684
valid, more proper markup 2024-07-19 01:46:18 +02:00
m5r
e031244f2b
simplify hardcoded records 2024-07-17 23:44:20 +02:00
m5r
9d3ce15f74
update Dockerfile golang version 2024-07-17 23:22:13 +02:00
m5r
3f48a4190d
fix invalid records & automatically split long TXT records into chunks of up to 255 characters 2024-07-17 23:21:54 +02:00
m5r
92cdddec9c
https server 2024-07-10 01:35:05 +02:00
m5r
ccaef7827c
update website ip, it's not using a shared IPv4 2024-01-03 01:36:16 +01:00
m5r
42dee06d16
write up readme 2023-12-14 01:07:15 +01:00
m5r
dbb9483102
works locally again 2023-12-14 01:04:01 +01:00
m5r
a5a144364e
untrack .lego directory 2023-12-13 23:11:26 +01:00
m5r
3b00fc9c13
cleanup 2023-12-13 22:27:51 +01:00
m5r
da1b496653
remove unused code and use proper TTLs 2023-12-13 22:13:35 +01:00
m5r
18e4091bdf
replace global ip addresses with edge-only ones 2023-12-13 20:16:04 +01:00
m5r
1e041cd072
try getting a cert for the website 2023-12-13 00:40:11 +01:00
m5r
5b6c21ef6d
add proper content type to force the browser to download the files instead of rendering their content 2023-12-12 23:33:14 +01:00
m5r
c639bddaeb
serve wildcard certificate files 2023-12-12 23:05:57 +01:00
m5r
18932d3873
always have 1 machine running 2023-12-12 22:26:45 +01:00
m5r
9ef6fc35f5
housekeeping 2023-12-12 22:25:39 +01:00
m5r
45e35acfd9
dont renew unless timeleft < 30 days 2023-02-26 14:35:07 +01:00
m5r
bd5bd0e7a1
got the certificate request working 2023-02-26 14:26:53 +01:00
m5r
d6bc349e73
first iteration to automate certificate generation 2023-02-26 11:02:30 +01:00
m5r
e25db3094f
export only necessary things from xip.go 2023-02-26 05:54:58 +01:00
m5r
937e2415ea
go get -u 2023-02-26 05:02:07 +01:00
m5r
d690b18c12
generate certs for *.local-ip.sh 2022-11-06 19:30:15 +01:00
m5r
c9fa805523
fix SOA responses when no answer 2022-11-06 19:29:39 +01:00
m5r
c9399a3b21
update readme 2022-10-30 18:59:37 +01:00
m5r
cb0b3a8a3f
handle AAAA 2022-10-30 18:52:05 +01:00
m5r
a80036b3c1
properly handle SOA 2022-10-30 00:45:42 +02:00
m5r
2c3b07c2c6
oops, forgot to uncomment code for NS queries 2022-10-30 00:18:57 +02:00
m5r
0adf0a23e3
handle SOA 2022-10-30 00:14:03 +02:00
m5r
8901182784
fix nameservers A records 2022-10-29 23:59:50 +02:00
m5r
4cf495be14
add DMARC TXT records 2022-10-29 16:11:43 +02:00
m5r
3ca2ccdca9
handle CNAME for DKIM 2022-10-29 15:50:49 +02:00
m5r
2be8951193
make the hardcoded records structure more consistent 2022-10-29 15:37:31 +02:00
m5r
97b5751a34
handle MX for emails 2022-10-29 15:25:40 +02:00
m5r
7305ae557a
handle TXT for emails 2022-10-29 15:01:07 +02:00
m5r
726e851059
s/.dev/.sh/ *sigh* 2022-10-29 10:12:05 +02:00
m5r
01de8a29bc
handle NS 2022-10-29 10:10:54 +02:00
m5r
62ebedb848
move logic back into 2022-10-29 00:28:10 +02:00
m5r
bb3db9be47
return NXDOMAIN when ip can't be parsed 2022-10-29 00:13:04 +02:00
m5r
15aee08c3c
remove from zone and reduce TTL to test with an actual domain 2022-10-29 00:07:09 +02:00
m5r
16a757694e
reorganize code 2022-10-28 23:36:57 +02:00
m5r
2ab783c2ad
add readme 2022-10-27 23:55:37 +02:00
m5r
5d58353e99
Initial commit 2022-10-27 23:19:23 +02:00