add dns rewriting