rework dns_names helper, remove alloc req.
#178
Merged
dns_names helper, remove alloc req.
#178