Rémi Després wrote:
> Keith Moore  -  le (m/j/a) 3/14/09 4:28 PM:
>>> Is it not true that those that use URLs and "connect by name" don't need
>>> to know whether a remote-endpoint address + port is obtained from an A,
>>> an AAAA, or an SRV record?
>>>     
>>
>> each application is defined to work in a
>> certain way, and most are not defined to use SRV records. 
> My understanding so far is that if an application uses gethostbyname(),
> and if its resolver, seeing that the URL is for a SRV RR (e.g.
> _HTTP._TCP.MyWebServer/HomePage), asks for an SRV RR, then the
> application, having submitted the URL transparently, doesn't know
> whether the address and port it gets have been obtained directly in an A
> or AAAAA, or after an intermediate SRV.
> 
> If this is wrong (it may be), can you please explain the reason?

if an implementation of gethostbyname() works that way, it's broken, and
it's breaking its applications.  SRV is only for use by applications
that are defined to use it.

>>  furthermore
>> the SRV RFC explicitly forbids using SRV records for apps that aren't
>> defined to use them. 
> I didn't see it in RFC 2052.
> Could you indicate where in this RFC, or in which other RFC, this is?

RFC 2782:

Applicability Statement

   In general, it is expected that SRV records will be used by clients
   for applications where the relevant protocol specification indicates
   that clients should use the SRV record. Such specification MUST
   define the symbolic name to be used in the Service field of the SRV
   record as described below. It also MUST include security
   considerations. Service SRV records SHOULD NOT be used in the absence
   of such specification.


Keith
_______________________________________________
nat66 mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/nat66

Reply via email to