fixing support for multiple dns