Simplify DNS parsing.