Subject: Re: Parsing of 'Additional Records' in SRV response

Re: Parsing of 'Additional Records' in SRV response

From: Jakub Hrozek <jhrozek_at_redhat.com>
Date: Mon, 22 Apr 2013 10:22:54 +0200

On Mon, Apr 22, 2013 at 11:02:56AM +0530, ayush jain wrote:
> Hi ,
>
> I was just going through the c-ares API 'ares_parse_srv_reply' and was
> wondering why it doesn't parse the 'additional record' section present in
> the SRV response.
> As in a multi-threaded architecture where you may want to minimize the
> overall number of DNS queries per second for better performance, usage of
> Additional Records can significantly reduce the need of 'A' queries or
> reading the entries from /etc/hosts depending on the /etc/nsswitch.conf
> file.
> Any suggestions and/or comments are most welcome

I implemented the first version of the SRV parsing and I must confess I
no longer remember why the additional record was not parsed, sorry.

I'm sure a patch would be welcome.
Received on 2013-04-22