add support for dns
add support for dns