| java.lang.Object CustomDNS.UpdateClient
Method Summary | |
public static void | main(String[] args) Update an address from the command-line.
Parameters: args - Our command-line arguments. | public static void | updateAddress(InetAddress server, short port, String zone, String username, String password, String hostname, InetAddress address) Update the address of a host.
Parameters: server - The host running the CustomDNS update server. Parameters: port - The port number of the CustomDNS update server. Parameters: zone - The zone in which our hostname resides. Parameters: username - The username to use for the update. Parameters: password - The password to use for the update. Parameters: hostname - The hostname (omit the zone). Parameters: address - The new address. | public static void | updateAddress(InetAddress server, String zone, String username, String password, String hostname, InetAddress address) Update the address of a host.
Parameters: server - The host running the CustomDNS update server. Parameters: zone - The zone in which our hostname resides. Parameters: username - The username to use for the update. Parameters: password - The password to use for the update. Parameters: hostname - The hostname (omit the zone). Parameters: address - The new address. | public static void | updateAddress(Properties c) Update the address of a host. | public static void | updateAddress(String propfile) Update the address of a host. | public static void | updateAddress(String propfile, String address) Update the address of a host. |
main | public static void main(String[] args)(Code) | | Update an address from the command-line.
Parameters: args - Our command-line arguments. Pass a property filedescribing the update to perform. |
updateAddress | public static void updateAddress(InetAddress server, short port, String zone, String username, String password, String hostname, InetAddress address) throws IOException, ServerResponse(Code) | | Update the address of a host.
Parameters: server - The host running the CustomDNS update server. Parameters: port - The port number of the CustomDNS update server. Parameters: zone - The zone in which our hostname resides. Parameters: username - The username to use for the update. Parameters: password - The password to use for the update. Parameters: hostname - The hostname (omit the zone). Parameters: address - The new address. If this is 'null', ask the serverto determine the address automatically. |
updateAddress | public static void updateAddress(InetAddress server, String zone, String username, String password, String hostname, InetAddress address) throws IOException, ServerResponse(Code) | | Update the address of a host.
Parameters: server - The host running the CustomDNS update server. Parameters: zone - The zone in which our hostname resides. Parameters: username - The username to use for the update. Parameters: password - The password to use for the update. Parameters: hostname - The hostname (omit the zone). Parameters: address - The new address. If this is 'null', ask the serverto determine the address automatically. |
updateAddress | public static void updateAddress(String propfile) throws IOException, ServerResponse, UnknownHostException(Code) | | Update the address of a host.
Parameters: propfile - The name of a property file describing the update. |
updateAddress | public static void updateAddress(String propfile, String address) throws IOException, ServerResponse, UnknownHostException(Code) | | Update the address of a host.
Parameters: propfile - The name of a property file describing the update. Parameters: address - An address to use instead of the one from the file. |
|
|