@ionsec These lines are already in my config but i add the "valid=300s" to the resolver line @Maxim how can i fix it Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255769,255802#msg-255802