[asterisk-dev] [Code Review] 4451: testsuite: Add DNS server pluggable module.

Joshua Colp reviewboard at asterisk.org
Wed Feb 25 11:57:29 CST 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4451/
-----------------------------------------------------------

(Updated Feb. 25, 2015, 5:57 p.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 (updated)
-----

  /asterisk/trunk/sample-yaml/dns-server-config.yaml PRE-CREATION 
  /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/8404b82a/attachment.html>


More information about the asterisk-dev mailing list