From 35020b0391790d16ca64117031349e6ddefaf1ec Mon Sep 17 00:00:00 2001 From: George Date: Sat, 10 Jul 2021 17:42:36 +0300 Subject: [PATCH] Update meshname module to v0.1.2 --- go.mod | 2 +- go.sum | 2 ++ src/meshname/module.go | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index b8d8816..82777e7 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/mitchellh/mapstructure v1.4.1 github.com/vishvananda/netlink v1.1.0 github.com/yggdrasil-network/yggdrasil-go v0.4.0 - github.com/zhoreeq/meshname v0.1.0 + github.com/zhoreeq/meshname v0.1.2 golang.org/x/net v0.0.0-20210610132358-84b48f89b13b golang.org/x/text v0.3.7-0.20210503195748-5c7c50ebbd4f ) diff --git a/go.sum b/go.sum index ff15904..9856f06 100644 --- a/go.sum +++ b/go.sum @@ -49,6 +49,8 @@ github.com/yggdrasil-network/yggdrasil-go v0.4.0 h1:H2CS2pTjCTzNQMHFU7sEW3Ge59fQ github.com/yggdrasil-network/yggdrasil-go v0.4.0/go.mod h1:/iMJjOrXRsjlFgqhWOPhecOKi7xHmHiY4/En3A42Fog= github.com/zhoreeq/meshname v0.1.0 h1:o7HlQeki4zxv+iorEhmmr4qRQdA2c43/+DLjeOO1Z6g= github.com/zhoreeq/meshname v0.1.0/go.mod h1:3I8MpFZ304bAYiD+e+ovlMDDZat8aKyUlqllUok4qm0= +github.com/zhoreeq/meshname v0.1.2 h1:82jjvRNx9U5OA+WgufQwu/6TFdfCaOeSaXW1ili4K0I= +github.com/zhoreeq/meshname v0.1.2/go.mod h1:3I8MpFZ304bAYiD+e+ovlMDDZat8aKyUlqllUok4qm0= gitlab.com/golang-commonmark/puny v0.0.0-20191124015043-9f83538fa04f h1:Wku8eEdeJqIOFHtrfkYUByc4bCaTeA6fL0UJgfEiFMI= gitlab.com/golang-commonmark/puny v0.0.0-20191124015043-9f83538fa04f/go.mod h1:Tiuhl+njh/JIg0uS/sOJVYi0x2HEa5rc1OAaVsb5tAs= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/src/meshname/module.go b/src/meshname/module.go index e4f1d9e..f7b92bb 100644 --- a/src/meshname/module.go +++ b/src/meshname/module.go @@ -27,7 +27,9 @@ func (s *MeshnameServer) Init(yggcore *core.Core, yggConfig *config.NodeConfig, s.server = _meshname.New( log, popConfig.Meshname.Listen, - map[string]*net.IPNet{"ygg": yggIPNet, "meshname": yggIPNet}, + map[string]*net.IPNet{"ygg": yggIPNet, "meshname": yggIPNet, "vapordns": yggIPNet}, + false, // enable meship protocol + false, // allow remote queries ) if dnsRecords, err := _meshname.ParseDNSRecordsMap(popConfig.Meshname.Config); err == nil {