diff --git a/pkg/publicip/dns/options.go b/pkg/publicip/dns/options.go index 98c0f0c22..6b646511a 100644 --- a/pkg/publicip/dns/options.go +++ b/pkg/publicip/dns/options.go @@ -8,9 +8,10 @@ type settings struct { } func newDefaultSettings() settings { + const defaultTimeout = 3 * time.Second return settings{ providers: ListProviders(), - timeout: time.Second, + timeout: defaultTimeout, } }