update for multiple dns
Fixed support for multiple dns