NAME

Net::RDAP::Server::EPPBackend - an RDAP server that retrieves registration data from an EPP server.

VERSION

version 0.05

SYNOPSIS

#!/usr/bin/env perl
use Net::RDAP::Server::EPPBackend;
use common::sense;

Net::RDAP::Server::EPPBackend->new
    ->set_backend(
        host => 'epp.nic.tld',
        user => 'my-clid',
        pass => 'my-pwd',
    )
    ->run;

DESCRIPTION

Net::RDAP::Server::EPPBackend implements an RDAP server that answers RDAP queries using data retrieved from an EPP server. It is based on Net::RDAP::Server, and uses Net::EPP::Simple to talk to the EPP server.

EPP SERVER INTEGRATION

Use the set_backend() method to specify the details of the EPP server to use. The arguments to this method are the same as those of Net::EPP::Simple's constructor.

The EPP client specified in the user parameter needs to have appropriate privileges to perform <info> commands on any domain in the EPP repository, otherwise, any query for a domain not under its sponsorship will result in an HTTP error.

IMPORTANT NOTE

This module is a proof-of-concept that may be useful to those interested in deploying RDAP. It should be noted that the server has no support for any of the following:

  • Entity and nameserver queries;

  • Concurrency;

  • HTTPS;

  • Caching;

  • Redaction of personal information.

AUTHOR

Gavin Brown <gavin.brown@fastmail.uk>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Gavin Brown.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.