Skip to content

Commit

Permalink
Add redirect to curl command in DNS check
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasgun committed Nov 22, 2024
1 parent f71d9ce commit 97ee5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/services/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func CheckCRCPublicDNSReachable(serviceConfig services.ServicePostStartConfig) (
// try without using proxy
proxyConfig = &httpproxy.ProxyConfig{}
}
curlArgs := []string{"--head", publicDNSQueryURI}
curlArgs := []string{"--head", publicDNSQueryURI, "-L"}
if proxyConfig.IsEnabled() {
proxyHost := proxyConfig.HTTPProxy
if proxyConfig.HTTPSProxy != "" {
Expand Down

0 comments on commit 97ee5fc

Please sign in to comment.