You can persistently set a property to an IP address. Java tries to convert a numeric InetAddress to a host name, and if it succeeds, the host name alone is employed when Java saves or transmits the value of the address. If no host name is available, the numeric form used.