[asterisk-dev] Fixing Asterisk DNS - bug 9152, asynchronous DNS, etc

Jeffrey C. Ollie jeff at ocjtech.us
Wed Jun 20 15:25:16 CDT 2007


On Wed, 2007-06-20 at 15:13 -0400, Kristian Kielhofner wrote:
>
>   It appears that a good start would be making Asterisk DNS resolution
> asynchronous inside of dns.c and making dns manager work with
> chan_sip.  Or maybe not.  Does anyone with more clue have any better
> ideas?

Outside of making every DNS lookup in Asterisk asynchronous, your best
bet would be to run BIND as a caching-only nameserver on the Asterisk
box.  Change the resolv.conf to point to 127.0.0.1.  If you need to run
DNS queries through your ISP's nameservers you can tell BIND to forward
all queries through those nameservers.

Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20070620/991c0e86/attachment.pgp 


More information about the asterisk-dev mailing list