[dns] fixing up minor issues in first commit