BULK SELECT returns chosen fields for a list of domain names matching given filter. It is a flexible method of obtaining data for large numbers of existing domain names in a single, terse request. It is broadly similar to the LIST operation, but allows considerably more flexibility both for the set of fields and for the set of domain names returned.
BULK SELECT operations may include the following:
operation: bulkBULK SELECT operations consist of:
select:
filter:
operation:bulk
The exact format of the reply depends on which fields were specified in the select clause. For example, the reply to the request
operation: bulkwill be in the form
select: key, account-name
Subject: Re: TAG bulk
Domain Name List follows...
Domain name|account-name
example1.co.uk|Mr Example
example2.co.uk|Mrs Example
Number of domains in the list: 2.
If you have any questions please contact support@nominet.org.uk.
Documentation on the automaton can be found on the Nominet Web
site at http://www.nominet.org.uk/go/automaton
Your original message follows
-------------------------------------------------------------------------------
operation: bulk
select: key, account-name
Omitting a filter clause returns all domain names on the requesting tag.
operation: bulk
select: key
This returns a list of all the domain names on the 10002 account
operation: bulk
filter: account-id = '10002'
select: key
This returns a list of key, created date, and expiry date for each domain name on the requesting tag that was registered in January 2008.
operation: bulk
filter: created >= '20080101' and created < '20080201'
select: key, created, expiry
This returns a list of key, expiry, auto-bill and account-name for all domain names on the requesting tag which are not on an account with name 'Ms Example' and expire after 3rd Feb 2010.
operation: bulk
select: key, expiry, auto-bill, account-name
filter: not account-name = 'Ms Example' and expiry > '20100203'
This returns a list of key and nameserver list for all domain names on the requesting tag whose nameserver list includes the nameserver 'ns1.example.co.uk'.
operation: bulk
filter: 'ns1.example.co.uk' in nservers
select: key, nservers
This returns a list all domain names on the requesting tag whose nameserver list includes 'ns1.example.co.uk' and 'ns2.example.co.uk' and no other nameservers.
operation: bulk
filter: nservers = ['ns1.example.co.uk', 'ns2.example.co.uk']
select: key
This returns a list of all domain names on the requesting tag with no nameservers.
operation: bulk
filter: nservers = 'NULL'
select: key