Added DNS functions.