diff --git a/internal/provider/cyberghost/updater/servers.go b/internal/provider/cyberghost/updater/servers.go index 44f86ed9..4b6fd4b5 100644 --- a/internal/provider/cyberghost/updater/servers.go +++ b/internal/provider/cyberghost/updater/servers.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "sort" + "strings" "github.com/qdm12/gluetun/internal/models" "github.com/qdm12/gluetun/internal/provider/common" @@ -18,6 +19,9 @@ func (u *Updater) FetchServers(ctx context.Context, minServers int) ( resolveSettings := parallelResolverSettings(possibleHosts) hostToIPs, warnings, err := u.parallelResolver.Resolve(ctx, resolveSettings) for _, warning := range warnings { + if strings.HasSuffix(warning, "no such host") { + continue // ignore no such host warnings + } u.warner.Warn(warning) } if err != nil {