[SIPForum-discussion] Can DNS be resolved in to Two IPs ..

Kevin P. Fleming kpfleming at digium.com
Mon Apr 12 15:24:13 UTC 2010


Jon Farmer wrote:
> On 12/04/2010 06:11, Murali Vuppandla wrote:
>> Is there any scenario where DNS name can be resolved in to two IPs. If
>> yes, then which IP will it forward it’s requests( any priority
>> associated with it).
>>
>>  
>>
>> Pls. clarify me on this.
> 
> http://en.wikipedia.org/wiki/SRV_record

This doesn't even require SRV records; there are many DNS names that
resolve into multiple IPs through the definition of multiple A/AAAA
records for that name. In that case, though, the receiver of that list
of IPs has no priority/weighting information to rely upon, so it should
just choose the first IP in the response (and implicitly rely on random
ordering provided by the DNS query/resolution process itself).

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org




More information about the discussion mailing list