The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

NOLookup::DAS::DASLookup - Lookup DAS data from Norid.

SYNOPSIS

  my $das = NOLookup::DAS::DASLookup->new('norid.no');

  One of the below accessor methods will return something:
  
   $das->errno()        Set to an error code if some error has occured.
   $das->available()    True if domain is available, thus registration can be attempted.
   $das->delegated()    True if domain is delegated, and thus not available.
   $das->prohibited()   True if domain is prohibited by policy, and thus not allowed.
   $das->invalid()      True if domain or zone is invalid, like a .com domain,
                        or if the zone is not administered by Norid, like 
                        some 'test.mil.no' domain.
   $das->raw_text()     Contains the raw DAS response.

DESCRIPTION

This module provides an object oriented API for use with the Norid DAS service. It uses the command line based DAS interface internally to fetch information from Norid.

METHODS

new

The constructor. Takes a lookup argument. Returns a new object.

lookup

Do a DAS lookup in the Norid database and populate the object from the result.

AUTOLOAD

This module uses the autoload mechanism to provide accessors for any available data through the get mechanism above.

errno, available, delegated, prohibited, invalid

See SYNOPSIS.

SEE ALSO

http://www.norid.no/en https://www.norid.no/en/registrar/system/tjenester/whois-das-service

AUTHOR

Trond Haugen, <(nospam)info(at)norid.no>

COPYRIGHT

Copyright (c) 2017 Trond Haugen <(nospam)info(at)norid.no>. 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.

LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.