diff --git a/cmd/hepto/root.go b/cmd/hepto/root.go
index 13f76e64dc6694e681254575960164e9b2c7293b..94b225707f0f87bd4514b9e76a97b2e6fa01bf76 100644
--- a/cmd/hepto/root.go
+++ b/cmd/hepto/root.go
@@ -85,11 +85,11 @@ func containerize() {
 // Guess the current IP address
 func waitForIP() net.IP {
 	for {
+		time.Sleep(time.Second)
 		logrus.Debug("Determining current IP address")
 		conn, err := net.Dial("udp", fmt.Sprintf("[%s]:53", defaultDNS[0].String()))
 		if err != nil {
 			logrus.Debug(err)
-			time.Sleep(time.Second)
 			continue
 		}
 		localAddr := conn.LocalAddr().(*net.UDPAddr).IP