diff --git a/wakuv2/waku.go b/wakuv2/waku.go index 955b309f8..41d3f6c87 100644 --- a/wakuv2/waku.go +++ b/wakuv2/waku.go @@ -372,7 +372,8 @@ func (w *Waku) dnsDiscover(ctx context.Context, enrtreeAddress string, apply fnA discNodes, ok := w.dnsAddressCache[enrtreeAddress] if !ok { - discoveredNodes, err := dnsdisc.RetrieveNodes(ctx, enrtreeAddress) + // NOTE: Temporary fix for DNS resolution on android/ios, as gomobile does not support it + discoveredNodes, err := dnsdisc.RetrieveNodes(ctx, enrtreeAddress, dnsdisc.WithNameserver("1.1.1.1")) if err != nil { w.logger.Warn("dns discovery error ", zap.Error(err)) return