summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-01-26 00:05:16 +0700
committerShulhan <ms@kilabit.info>2021-01-26 00:05:16 +0700
commit004ca8bc561162deb1a58a82cbdcca241de9a6cb (patch)
tree3f81f60ecaf4fbd4dfb042b32cb15433f1fdddbd
parent4f9e0bb76ce80aeeecfb539a5d41ffbf8402e638 (diff)
downloadrescached-004ca8bc561162deb1a58a82cbdcca241de9a6cb.tar.xz
Release rescached v4.0.0 (2021-01-25)v4.0.0
== New features Rescached now have a web user interface (wui) that can be accessed at http://127.0.0.1:5380. The interface can be used to monitoring caches, managing caches, environment, blocked hosts, internal hosts files, and zone files. == Breaking changes * The `rescached::dir.hosts` now default to "/etc/rescached/hosts.d" * The `rescached::dir.master` now default to "/etc/rescached/zone.d"
-rw-r--r--CHANGELOG.adoc11
-rw-r--r--Makefile2
-rw-r--r--cmd/rescached/main.go2
-rw-r--r--go.mod8
-rw-r--r--go.sum13
5 files changed, 21 insertions, 15 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 425ecfa..c9ea516 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -1,15 +1,18 @@
-= Rescached v4.0.0 (2020-06-xx)
+= Rescached v4.0.0 (2021-01-25)
== New features
-Rescached now have a web user interface that can be accessed at
+Rescached now have a web user interface (wui) that can be accessed at
http://127.0.0.1:5380.
+The interface can be used to monitoring caches, managing caches, environment,
+blocked hosts, internal hosts files, and zone files.
+
== Breaking changes
-* The `rescached::dir.hosts` now default to "/etc/rescached/hosts.d".
+* The `rescached::dir.hosts` now default to "/etc/rescached/hosts.d"
-* The `rescached::dir.master` now default to "/etc/rescached/master.d".
+* The `rescached::dir.master` now default to "/etc/rescached/zone.d"
= Rescached v3.0.2 (2020-05-08)
diff --git a/Makefile b/Makefile
index 13ebabb..f0e498a 100644
--- a/Makefile
+++ b/Makefile
@@ -164,4 +164,4 @@ build-linux-amd64: GOARCH=amd64
build-linux-amd64: build
deploy: build-linux-amd64
- rsync --progress _bin/linux_amd64/rescached dns-server:~/bin/rescached
+ rsync --progress _bin/linux_amd64/rescached personal-server:~/bin/rescached
diff --git a/cmd/rescached/main.go b/cmd/rescached/main.go
index 2675b02..a43eefd 100644
--- a/cmd/rescached/main.go
+++ b/cmd/rescached/main.go
@@ -15,7 +15,7 @@ import (
"github.com/shuLhan/share/lib/debug"
- rescached "github.com/shuLhan/rescached-go/v3"
+ "github.com/shuLhan/rescached-go/v4"
)
func main() {
diff --git a/go.mod b/go.mod
index 669d368..0a6fc71 100644
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,11 @@
-module github.com/shuLhan/rescached-go/v3
+module github.com/shuLhan/rescached-go/v4
go 1.14
-require github.com/shuLhan/share v0.22.1-0.20210121194620-62d4a5af43bb
+require (
+ github.com/shuLhan/share v0.22.1-0.20210124101421-f76dc891e371
+ golang.org/x/net v0.0.0-20210119194325-5f4716e94777 // indirect
+ golang.org/x/sys v0.0.0-20210123111255-9b0068b26619 // indirect
+)
//replace github.com/shuLhan/share => ../share
diff --git a/go.sum b/go.sum
index 91e46fe..88ba32f 100644
--- a/go.sum
+++ b/go.sum
@@ -4,29 +4,28 @@ git.sr.ht/~shulhan/ciigo v0.3.0/go.mod h1:Y5FvSiJg88qshoR1ktj4fLzM5sk1pZcV0kJGU8
git.sr.ht/~shulhan/ciigo v0.3.1-0.20210109200358-c23bd42ef521/go.mod h1:DLyaapVphRtqry80iqw+luWAKepHtbDmbvxqFmulcko=
github.com/shuLhan/share v0.20.2-0.20201122173411-e8b3bf5ee6e9/go.mod h1:oBv+CGHG6u4Sa71+nJJJji8mCgPAadywjsB3I3k/b0o=
github.com/shuLhan/share v0.20.2-0.20201205202022-66069b9e49fe/go.mod h1:oBv+CGHG6u4Sa71+nJJJji8mCgPAadywjsB3I3k/b0o=
-github.com/shuLhan/share v0.22.1-0.20210109185915-0490a19341d9 h1:Kqmfgkwq5dn68epHLBmPVkkLRDk3XFftqO/o3X84Mqg=
github.com/shuLhan/share v0.22.1-0.20210109185915-0490a19341d9/go.mod h1:u9caerexlcxmPVDttj7PnkxCBDY6yBRTZ+gGR+1tO98=
-github.com/shuLhan/share v0.22.1-0.20210121194620-62d4a5af43bb h1:XNl502ViCu+DzO6lAONT/bJDCe1Qik3DrRVW8PHcYVM=
-github.com/shuLhan/share v0.22.1-0.20210121194620-62d4a5af43bb/go.mod h1:y4+p5vUmKNNhMMhU6yGgE6QxTgJxA4nv6OOq+cIf7wU=
+github.com/shuLhan/share v0.22.1-0.20210124101421-f76dc891e371 h1:5UPgRXvrL9YmiydMG72xJYE8LuYS1EcjZQrBqhSX064=
+github.com/shuLhan/share v0.22.1-0.20210124101421-f76dc891e371/go.mod h1:y4+p5vUmKNNhMMhU6yGgE6QxTgJxA4nv6OOq+cIf7wU=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb h1:eBmm0M9fYhWpKZLjQUUKka/LtIxf46G4fxeEz5KJr9U=
golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.0.0-20201224014010-6772e930b67b h1:iFwSg7t5GZmB/Q5TjiEAsdoLDrdJRC1RiF2WhuV29Qw=
golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210119194325-5f4716e94777 h1:003p0dJM77cxMSyCPFphvZf/Y5/NXf5fzg6ufd1/Oew=
+golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201107080550-4d91cf3a1aaf h1:kt3wY1Lu5MJAnKTfoMR52Cu4gwvna4VTzNOiT8tY73s=
golang.org/x/sys v0.0.0-20201107080550-4d91cf3a1aaf/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210108172913-0df2131ae363 h1:wHn06sgWHMO1VsQ8F+KzDJx/JzqfsNLnc+oEi07qD7s=
golang.org/x/sys v0.0.0-20210108172913-0df2131ae363/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210123111255-9b0068b26619 h1:yLLDsUUPDliIQpKl7BjVb1igwngIMH2GBjo1VpwLTE0=
+golang.org/x/sys v0.0.0-20210123111255-9b0068b26619/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=