private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException {
  s.writeObject(toString());
}

private void writeObject ( java . io . ObjectOutputStream s ) throws java . io . IOException { s . writeObject ( toString ( ) ) ; }
serializes only the domain name string , for compactness and to avoid any implementation dependency .
