diff --git a/pkg/fpstore/gateway.go b/pkg/fpstore/gateway.go index 99e2ef8..8d3ab23 100644 --- a/pkg/fpstore/gateway.go +++ b/pkg/fpstore/gateway.go @@ -67,7 +67,7 @@ func RunGateway(c *cli.Context) error { grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy":"round_robin"}`), } - endpoint := net.JoinHostPort(GatewayServerHostFlag.Get(c), strconv.Itoa(GatewayServerPortFlag.Get(c))) + endpoint := "dns:///" + net.JoinHostPort(GatewayServerHostFlag.Get(c), strconv.Itoa(GatewayServerPortFlag.Get(c))) err := gw.RegisterFingerprintStoreHandlerFromEndpoint(ctx, mux, endpoint, opts) if err != nil { return err