Order and Preference Priority in DNS Responses

Mukund Sivaraman muks at isc.org
Mon Aug 3 12:12:52 UTC 2015


Hi Harshith

On Mon, Aug 03, 2015 at 05:08:50PM +0530, Harshith Mulky wrote:
> 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

A client application querying for this record type (NAPTR) will receive
all these RRs. It is upto the client application to use these records
and use them in the sequence of the "ORDER" field.

		Mukund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20150803/4f490b39/attachment.bin>


More information about the bind-users mailing list