NAME
Net::DRI::Shell - (Experimental) Shell for Net::DRI
SYNOPSYS
perl -I../../ ./Shell.pm
or
perl -MNet::DRI::Shell -e run
Welcome to Net::DRI experimental shell, version 0
Net::DRI object created with TTL=10s
NetDRI> add_registry EURid clID YOURLOGIN
NetDRI(EURid)> new_current_profile profile1 epp defer=0 client_login=YOURLOGIN client_password=YOURPASSWORD
Profile profile1 added successfully (1000/COMMAND_SUCCESSFUL) SUCCESS
NetDRI(EURid,profile1)> domain_info example.eu
Command completed successfully (1000/1000) SUCCESS
NetDRI(EURid,profile1)> get_info_all
... all data related to the domain name queried ...
NetDRI(EURid,profile1)> domain_check whatever.eu
Command completed successfully (1000/1000) SUCCESS
NetDRI(EURid,profile1)> get_info_all
... all data related to the domain name queried ...
NetDRI(EURid,profile1)> show profiles
EURid: profile1
NetDRI(EURid,profile1)> quit
DESCRIPTION
This is an experimental shell to be able to use Net::DRI without writing any code. For now, domain_check and domain_info operations should work with all real-time registries. Most of the time commands are the name of methods to use on the Net::DRI object, with some extra ones and some variations in API to make passing parameters simpler.
WARNING: the API is not finalized, everything can change in future versions, based on feedback, suggestions, problems, needs, etc.
After having started this shell, the available commands are:
add_registry REGISTRYNAME clID YOURLOGIN
Replace REGISTRYNAME with the Net::DRI::DRD module you want to use, and YOURLOGIN with your client login for this registry
new_current_profile profile1 epp defer=0 client_login=YOURLOGIN client_password=YOURPASSWORD
This will really connect to the registry, replace YOURLOGIN by your client login at registry, and YOURPASSWORD by the associated password. You may have to add parameters remote_host= and remote_port= to connect to other endpoints than the hardcoded default which is most of the time the registry OT&E server, and not the production one !
domain_info YOURDOMAIN
Do a domain_info call to the registry for the domain YOURDOMAIN ; most of the the registries prohibit getting information on domain names you do not sponsor.
domain_check ANYDOMAIN
Do a domain_check call to the registry for the domain ANYDOMAIN ; you can check any domain, existing or not, if you are the sponsoring registrar or not.
get_info_all
After each call to the registry, like domain_info or domain_check, this will list of available data retrieved from registry. Things are pretty-printed as much as possible. You should call get_info_all right after your domain_something call otherwise if you do another operation previous information is lost.
show profiles
Show the list of registries and associated profiles currently in use (opened in this shell with add_registry + new_current_profile)
target X Y
Switch to registry X (from currently available registries) and profile Y (from currently available profiles in registry X).
quit
Leave this shell.
SUPPORT
For now, support questions should be sent to:
<netdri@dotandco.com>
Please also see the SUPPORT file in the distribution.
SEE ALSO
<http://www.dotandco.com/services/software/Net-DRI/>
AUTHOR
Patrick Mevzek, <netdri@dotandco.com>
COPYRIGHT
Copyright (c) 2008 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
See the LICENSE file that comes with this distribution for more details.