[Asterisk-code-review] ASTERISK-25146: Create a system-level DNS resolver (asterisk[master])

Ashley Sanders asteriskteam at digium.com
Tue Jun 30 13:34:17 CDT 2015


Ashley Sanders has uploaded a new patch set (#2).

Change subject: ASTERISK-25146: Create a system-level DNS resolver
......................................................................

ASTERISK-25146: Create a system-level DNS resolver

Prior to this patch, the DNS core present in master had no default system-level
resolver implementation. Therefore, it was not possible for the DNS core to
perform resolutions unless the libunbound library was installed and the
res_resolver_unbound module was loaded.

This patch introduces a system-level DNS resolver implementation that will
register itself with the lowest consideration priority available (to ensure
that it is to be used only as a last resort). The resolver relies on low-level
DNS search functions to perform a rudimentary DNS search based on a provided
query and then supplies the search results to the DNS core.

Change-Id: I3b36ea17b889a98df4f8d80d50bb7ee175afa077
---
M include/asterisk/_private.h
M include/asterisk/dns.h
A include/asterisk/dns_system_resolver.h
M main/asterisk.c
M main/dns.c
A main/dns_system_resolver.c
6 files changed, 642 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/749/2
-- 
To view, visit https://gerrit.asterisk.org/749
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3b36ea17b889a98df4f8d80d50bb7ee175afa077
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Ashley Sanders <asanders at digium.com>



More information about the asterisk-code-review mailing list