Fixed DNS lookup for Qt4