NAME

lat-domains - The lazy administrator's tool to manage domainnames


DESCRIPTION

Creates or deletes domainnames on Mitel's SME servers. This tool is functionally equivalent to the 'virtual domains' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to create a large number of domain names in a batch process, or delete domain names on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.domains for the format of the input file.


SYNOPSIS

lat-domains -a -c ``domain | description | i-bay''

lat-domains -a -i /path/to/domains.list

lat-domains -d [-f] -c ``domain''

lat-domains -d [-f] -i /path/to/domains.list


OPTIONS

The following options are supported:

-a, --add
Add a domain name to the server

-c ``Arguments'', --command-line=``Arguments''
Take arguments from the command line. See the 'Arguments' section below for the various arguments that are accepted.

-d, --delete
Delete a domain name from the server. Wildcards (* and ?) are accepted.

-f, --force
Don't prompt before deleting.

-h, --help
Extended help for this tool

-i FILE, --input-file=FILE
Use the information from FILE to create or delete the domain name(s). See /usr/doc/lazy-admin-tools for an example of an input file.

Arguments:

   domain*     : Must contain one or more letters, numbers,
                 periods and minus signs. Wildcards (* and ?)
                 can only be used to delete domainnames.
   desription  : Free text description of the domain.
   i-bay       : Location where the content for the website
                 can be found. Must be a valid ibay-name.
                 Otherwise the primary website of the server is
                 assumed.
   * mandatory field


EXAMPLES

lat-domains -a -c ``hogwarts.net | School of witchcraft | hogwarts''

Creates the domain name 'hogwarts.net' and links it to i-bay 'hogwarts'.

lat-domains -a -c ``quidditch.net''

Creates the domain name 'quidditch.net' and links it to the primary website.

lat-domains -a -i /root/domains.list

Creates the domain names defined in /root/domains.list. Refer to /usr/doc/lazy-admin-tools/example.domains for an example of an input file.

lat-domains -d -f -c ``*.net''

Deletes all '.net' domain names without prompting (-f).


SEE ALSO

lat-users(8), lat-group(8), lat-pseudonyms(8), lat-ibays(8), lat-quota(8), lat-hosts(8), lat-procmail(8), lat-pptp(8), lat-dump(8)


VERSION

Version 0.9.0 (2004-09-08). The latest version is hosted at http://www.contribs.org/contribs/mblotwijk/


COPYRIGHT

(c)2003-2004, Altiplano bvba (http://www.altiplano.be). Released under the terms of the GNU license.


BUGS

Please report bugs to <Bugs@Altiplano.Be>