Merge "Fix wrong behavior of async DNS API with flags" into qt-dev