convert a name to and from reverse dns