fix issue with dns resolution

This commit is contained in:
dovholuknf
2020-11-02 09:06:47 -05:00
parent 6fc80c4e24
commit 244ec3a2f2
+1 -1
View File
@@ -146,7 +146,7 @@ func (dns *dnsImpl) RegisterService(svcId string, dnsNameToReg string, port uint
binary.BigEndian.PutUint32(ip, nextAddr)
log.Infof("mapping hostname %s to ip %s", dnsNameToReg, ip.String())
dns.hostnameMap[icept.host] = &ctxIp {
dns.hostnameMap[normalizeDnsName(icept.host)] = &ctxIp {
ip: ip,
ctx: ctx,
network: currentNetwork,