Hello, For personal lab testing, I would like a mock database, replacing a legacy ENUM database. More precisely, I would like to: - play with Asterisk's ENUMLOOKUP, ENUMQUERY and so on functions - populate mock db with a couple of fake numbers or ranges of numbers - test common use-cases (unknown number, ...) I'm entirely discovering ENUM, itself. How can I easily implement such db ? With dnmasq (don't laugh) ? With things like [1] ? Best regards [1] https://github.com/hadrienk/enum-dns -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180817/36fe076a/attachment.html>
Barry Flanagan
2018-Aug-17 16:25 UTC
[asterisk-users] How to implement an ENUM mock database ?
On Fri, 17 Aug 2018 at 17:11, Olivier <oza.4h07 at gmail.com> wrote:> Hello, > > For personal lab testing, I would like a mock database, replacing a legacy > ENUM database. > > More precisely, I would like to: > - play with Asterisk's ENUMLOOKUP, ENUMQUERY and so on functions > - populate mock db with a couple of fake numbers or ranges of numbers > - test common use-cases (unknown number, ...) > > I'm entirely discovering ENUM, itself. > > How can I easily implement such db ? With dnmasq (don't laugh) ? With > things like [1] ? > >We use Powerdns (https://www.powerdns.com/) in production and it works well. Choice of backends - mysql, sqlite3, bind, etc. Works well. -Barry Flanagan Best regards> > [1] https://github.com/hadrienk/enum-dns > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180817/6ef46ce1/attachment.html>