[asterisk-dev] [Code Review] 4451: testsuite: Add DNS server pluggable module.
Matt Jordan
reviewboard at asterisk.org
Wed Feb 25 11:50:31 CST 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4451/#review14551
-----------------------------------------------------------
Ship it!
That is surprisingly small. Yay.
/asterisk/trunk/lib/python/asterisk/dns_server.py
<https://reviewboard.asterisk.org/r/4451/#comment25098>
Go ahead and add a sample configuration YAML file in the sample-yaml directory.
Configuring BIND zone files are beyond the scope of this :-)
- Matt Jordan
On Feb. 25, 2015, 11:05 a.m., Joshua Colp wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4451/
> -----------------------------------------------------------
>
> (Updated Feb. 25, 2015, 11:05 a.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Repository: testsuite
>
>
> Description
> -------
>
> This change adds a pluggable module to the testsuite which runs a DNS server using twisted-names. This is an authoritative DNS server that responds with records which are specified in a Python style zone file or a BIND style zone file. The DNS server lives for the lifetime of the test. This is useful since it removes any reliance on an external DNS server and reduces the work required to test DNS.
>
>
> Diffs
> -----
>
> /asterisk/trunk/lib/python/asterisk/dns_server.py PRE-CREATION
>
> Diff: https://reviewboard.asterisk.org/r/4451/diff/
>
>
> Testing
> -------
>
> Hacked up a quick test which used the pluggable module to start a DNS server for a domain. Used dig to contact the DNS server and confirm records.
>
>
> Thanks,
>
> Joshua Colp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150225/d39e6edb/attachment-0001.html>
More information about the asterisk-dev
mailing list