Re: [Enum] Processing of 'Additional Information Section'
Patrik Fältström <paf@cisco.com> Fri, 14 July 2006 18:52 UTC
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1G1Sm4-0001QQ-0c; Fri, 14 Jul 2006 14:52:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1G1Sm2-0001QB-LP for enum@ietf.org; Fri, 14 Jul 2006 14:52:26 -0400
Received: from sj-iport-1-in.cisco.com ([171.71.176.70] helo=sj-iport-1.cisco.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1G1Sm1-0002ng-BE for enum@ietf.org; Fri, 14 Jul 2006 14:52:26 -0400
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 14 Jul 2006 11:52:24 -0700
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-4.cisco.com (8.12.11.20060308/8.12.11) with ESMTP id k6EIqOoj017159; Fri, 14 Jul 2006 11:52:24 -0700
Received: from imail.cisco.com (sjc12-sbr-sw3-3f5.cisco.com [172.19.96.182]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id k6EIqO2D026247; Fri, 14 Jul 2006 11:52:24 -0700 (PDT)
Received: from [127.0.0.1] (ssh-ams-1.cisco.com [144.254.226.40]) by imail.cisco.com (8.12.11/8.12.10) with ESMTP id k6EIkIfF012893; Fri, 14 Jul 2006 11:46:19 -0700
In-Reply-To: <OF3DE36FBD.DBDAD8B5-ON652571A7.0016899C-652571A7.0017C0CF@flextronicssoftware.com>
References: <OF3DE36FBD.DBDAD8B5-ON652571A7.0016899C-652571A7.0017C0CF@flextronicssoftware.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset="US-ASCII"; delsp="yes"; format="flowed"
Message-Id: <1BD38415-215A-4D19-8C59-A76ED993FA08@cisco.com>
Content-Transfer-Encoding: 7bit
From: Patrik Fältström <paf@cisco.com>
Subject: Re: [Enum] Processing of 'Additional Information Section'
Date: Fri, 14 Jul 2006 14:52:21 -0400
To: Prashant.Murthy@flextronicssoftware.com
X-Mailer: Apple Mail (2.752.2)
Authentication-Results: sj-dkim-4.cisco.com; header.From=paf@cisco.com; dkim=pass ( sig from cisco.com verified; );
DKIM-Signature: a=rsa-sha1; q=dns; l=2986; t=1152903144; x=1153767144; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=paf@cisco.com; z=From:=3D?ISO-8859-1?Q?Patrik_F=3DE4ltstr=3DF6m?=3D=20<paf@cisco.com> |Subject:Re=3A=20[Enum]=20Processing=20of=20'Additional=20Information=20Section'; X=v=3Dcisco.com=3B=20h=3DucT7z12ej/N0QxV0x0HUC9cGtJc=3D; b=pKLcO77v0/c2oEVgO2VBnyxP6tJBYlAPGbpunPlndQOm3B+yeHQH3bt3ht8tGJfUf0mw2hCn NK2XAKgb/maKgQpAvR6es/ZHloWYmgV0HUBUsTD4Xi14kJ2DlvKwEAM5;
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b280b4db656c3ca28dd62e5e0b03daa8
Cc: enum@ietf.org
X-BeenThere: enum@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Enum Discussion List <enum.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/enum>, <mailto:enum-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:enum@ietf.org>
List-Help: <mailto:enum-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/enum>, <mailto:enum-request@ietf.org?subject=subscribe>
Errors-To: enum-bounces@ietf.org
On 10 jul 2006, at 00.17, Prashant.Murthy@flextronicssoftware.com wrote: > I have a question on the use of 'Additional Information Section' of a > given DNS response. > > RFC 3761 say that the clients are encouraged to check for additional > information present in the response. > > When we query for an e164 number, we will get AORs associated with > different services. In case the client supports that service, it will > fetch contacts and perform SRV/A lookup. My question is what > additional > information the NAPTR response contain? Depends on what the server choose to put there. For "normal" use of NAPTR+SRV, it normally include the SRV records. Here is one example: pingu>dig outgoingproxy.yxa.frobbit.se. naptr ; <<>> DiG 9.2.2 <<>> outgoingproxy.yxa.frobbit.se. naptr ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60887 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 5 ;; QUESTION SECTION: ;outgoingproxy.yxa.frobbit.se. IN NAPTR ;; ANSWER SECTION: outgoingproxy.yxa.frobbit.se. 900 IN NAPTR 10 0 "s" "SIP+D2T" "" _sip._tcp.outgoingproxy.yxa.frobbit.se. outgoingproxy.yxa.frobbit.se. 900 IN NAPTR 10 0 "s" "SIP+D2U" "" _sip._udp.outgoingproxy.yxa.frobbit.se. outgoingproxy.yxa.frobbit.se. 900 IN NAPTR 10 0 "s" "SIPS+D2T" "" _sips._tcp.outgoingproxy.yxa.frobbit.se. ;; AUTHORITY SECTION: frobbit.se. 520 IN NS ns.cafax.se. frobbit.se. 520 IN NS ns1.frobbit.se. ;; ADDITIONAL SECTION: sip.frobbit.se. 900 IN A 193.109.175.117 ns1.frobbit.se. 877 IN A 66.125.125.88 _sip._tcp.outgoingproxy.yxa.frobbit.se. 900 IN SRV 0 0 5066 sip.frobbit.se. _sip._udp.outgoingproxy.yxa.frobbit.se. 900 IN SRV 0 0 5066 sip.frobbit.se. _sips._tcp.outgoingproxy.yxa.frobbit.se. 900 IN SRV 0 0 5067 sip.frobbit.se. ;; Query time: 124 msec ;; SERVER: 132.219.0.11#53(132.219.0.11) ;; WHEN: Fri Jul 14 14:45:33 2006 ;; MSG SIZE rcvd: 428 > Do the current DNS servers support > additional information section? Absolutely. > Can anyone suggest a place where I can get > a detailed information about the processing of additional information > section ? It is up to you as a client to use that data if you want to. > Whether it is important to process this additional information > section? It minimizes the number of queries sent to the DNS. On the other hand, you should not blindly trust what is in there (because it might be fake data, and if you cache it you might get so called cache posioning), just like you should/can not trust any data from DNS if it is not the case you use DNSSEC, in what case both answer and additional data in the response can be verified. Description of the various sections of queries and responses for DNS in laid out in any book on DNS. Patrik _______________________________________________ enum mailing list enum@ietf.org https://www1.ietf.org/mailman/listinfo/enum
- [Enum] Processing of 'Additional Information Sect… Prashant.Murthy
- Re: [Enum] Processing of 'Additional Information … Patrik Fältström