[asterisk-dev] [Code Review] If DNS is unavailable at start-up, update peer address so registration works when DNS comes back
Mark Murawski
markm-lists at intellasoft.net
Tue Aug 2 11:21:38 CDT 2011
On 08/02/11 11:38, Eric Wieling wrote:
> On Tue, 02 Aug 2011 15:26:48 -0000
> "kobaz"<reviewboard at asterisk.org> wrote:
>
>>
>> -----------------------------------------------------------
>> This is an automatically generated e-mail. To reply, visit:
>> https://reviewboard.asterisk.org/r/1335/#review3961
>> -----------------------------------------------------------
>>
>>
>> I can't reproduce the bug. If I start up asterisk with my dns server
>> blocking requests, it cannot look up the hostname and cannot
>> register. As soon as I unblock requests, asterisk will find the
>> hostname and successfully register.
>>
>> This is without the patch. I'm trying to see what situation this
>> fixes.
>
> When you block DNS requests are you dropping the packet, or are you
> rejecting the packet with an ICMP response?
>
Dropping the packet.
I can reproduce it now. The bug is only when registering using a peer,
not a hostname directly.
More information about the asterisk-dev
mailing list