[asterisk-dev] [Code Review] 4542: DNS: Add NAPTR support and tests

Mark Michelson reviewboard at asterisk.org
Mon Apr 6 12:06:10 CDT 2015


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

(Updated April 6, 2015, 12:06 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 434068


Repository: Asterisk


Description
-------

This adds NAPTR support for DNS in Asterisk.

The main parts of this are the functions for allocating a DNS NAPTR record when a resolver wishes to add a NAPTR record, the sorting algorithm for sorting DNS NAPTR records, and the tests that use a mock DNS resolver.

NOTE: There is likely to be some overlap here in this review and Josh's SRV review (/r/4528). Our stance on this is that we will factor out the duplicated code once both SRV and NAPTR have been merged into the main DNS branch. The factoring out of common functions will be placed in its own review.


Diffs
-----

  /team/group/dns/tests/test_dns_naptr.c PRE-CREATION 
  /team/group/dns/res/res_resolver_unbound.c 433885 
  /team/group/dns/main/dns_naptr.c 433885 
  /team/group/dns/main/dns_core.c 433885 
  /team/group/dns/include/asterisk/dns_internal.h 433885 

Diff: https://reviewboard.asterisk.org/r/4542/diff/


Testing
-------

All previous DNS tests continue to pass, and all new tests added in this review pass as well.


Thanks,

Mark Michelson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150406/6d9ba08a/attachment.html>


More information about the asterisk-dev mailing list