Simplify DNS handler usage