Added support for dns-search and fixes #30102 Upstream-commit: c0a1d2e0d88ff3cae6802dfbd128c7739e8c2bcc Component: engine