Add dns_search support in yml config

dns_search is only partially supported on fig code. This PR fixes this and make dns_search working.

`dns_search` :)