[asterisk-bugs] [JIRA] (ASTERISK-25570) DNS: Implement negative connection cache

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Dec 2 13:46:32 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-25570:
-------------------------------------

    Attachment: ASTERISK-25570-test.diff
                ASTERISK-25570-13.diff
                ASTERISK-25570-master.diff

After receiving some feedback about implementing a negative DNS cache in Asterisk it was decided that these changes are currently not needed. Instead it makes more sense to use a third party library that does the same thing.

However, attaching patches just in case this ever comes up again or needs to be reopened.

> DNS: Implement negative connection cache
> ----------------------------------------
>
>                 Key: ASTERISK-25570
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25570
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/DNS
>            Reporter: Ashley Sanders
>            Assignee: Kevin Harwell
>            Severity: Critical
>         Attachments: ASTERISK-25570-13.diff, ASTERISK-25570-master.diff, ASTERISK-25570-test.diff
>
>
> What is this? If Asterisk is told to look up a domain, and that domain does not resolve, then Asterisk will temporarily return an error when that domain is looked up. This way, if tons of lookups are attempted, only the first will take time to fail. All subsequent ones will result in an immediate failure since we have cached the failure locally.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list