Order and Preference Priority in DNS Responses
Heiko Richter
email at heikorichter.name
Mon Aug 3 14:44:47 UTC 2015
Am 03.08.2015 um 13:44 schrieb Reindl Harald:
>
>
> Am 03.08.2015 um 13:38 schrieb Harshith Mulky:
>> I wanted to understand how Order and Preference Values have an impact on
>> the answers Received from the DNS Server
>>
>> I am asking because, I have 4 records for NAPTR Query, as below
>>
>> carrier1.com 86400 IN NAPTR 50 50 “s” “SIPS+D2T” ““
>> “_sips._tcp.carrier1.com.”
>> carrier1.com 86400 IN NAPTR 90 50 “s” “SIP+D2T” ““
>> “_sip._tcp.carrier1.com.”
>> carrier1.com 86400 IN NAPTR 100 100 “s” “SIP+D2U” ““
>> “_sip._udp.carrier1.com.”
>> carrier1.com 86400 IN NAPTR 120 100 “s” “SIPS+D2U” ““
>> “_sip._tcp.carrier1.com.”
>>
>> I am expecting to receive the answer as _sip._udp.carrier1.com but i
>> receive _sip._tcp.carrier1.com
>
> randomly
>
> https://en.wikipedia.org/wiki/Round-robin_DNS
>
Just saying "randomly" is not quite correct. At least not always.
Depends on the setting of rrset-order.
More information about the bind-users
mailing list