Adding support for multiple dns