I am trying to send dns query with NAPTR+SRV+A query but after NAPTR query it dns send NAPTR response with NS response and with additional records that is SRV and A but I want to send SRV and A query exclusively.
I am trying to send dns query with NAPTR+SRV+A query
If you mean doing one DNS query for multiple record types at the same time, then no, this is not possible under current DNS specifications.
There have been various works and ideas floating around to do that (specially to be able to get
AAAA records together) but nothing emerged as a standard, so you have to do multiple queries, one per record type.
If instead your question is why a query for
NAPTR returns more than just
NAPTR records, you may wish to read section "Flags" of https://tools.ietf.org/html/rfc2915 (which describes NAPTR) as it has the following:
DNS servers MAY interpret these flags and values and use that information to include appropriate SRV and A,AAAA, or A6 records in the additional information portion of the DNS packet. Clients are encouraged to check for additional information but are not required to do so.
A6 being of course today completely deprecated, but that is another story).