<div dir="ltr">The reason is as follows:<br><br>I work for a telecommunications company. This company provides customers with products such as MNP and HLR lookups. A NAPTR query is used to check whether a mobile number has been ported (MNP) or in which net / country the number is currently logged on (HLR).<br><br>The company is currently using a self-programmed DNS server. This does exactly what I have described, it parses the NAPTR query and answers with a NAPTR record as well as an additional TXT record.<br><br>Since this involves millions of queries every day, overhead like SOA queries are absolutely undesirable because if a SOA query has to be answered first and then an ANY query, then 2 co-processes are necessary in the case of the pipe backend. It could be done with only one co-process if only the parsed NAPTR question would be passed to the backend since only that was requested by the client. Most important is the performance and number of questions answered. It does not matter whether this answer is authoritative or not.<br><br>So it would be great if PowerDNS could be configured to do exactly the same thing as the self-programmed company DNS Server: Parse the NAPTR query, pass it to the backend, send the answer from the backend to the client, no matter how this answer looks like. The company has a reason to have an additional TXT record in the answer.<br><br>If that's impossible, that's ok, then we have to look for another solution that meets our requirements. I just don't know if it's possible and how, I could not find an answer for this problem in the docs.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 15. Jan. 2020 um 20:38 Uhr schrieb Jan-Piet Mens <<a href="mailto:list@mens.de">list@mens.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(summarizing from two of your messages)<br>
<br>
> I only want to pass what was explicitly requested to the backend and <br>
> nothing else because the server has to process many millions of <br>
> requests and any overhead is not desired.<br>
<br>
>I want PowerDNS to send exactly the records to the client that the pipe<br>
>backend produced. Nothing should be left out.<br>
<br>
That seems contradictory to me.<br>
<br>
Be that as it may, the client issues a query for a particular type (e.g <br>
TXT or AAAA); even if PowerDNS returned all types it has for a qname to <br>
the client which, as you've noticed it doesn't, the latter would likely <br>
not use the result.<br>
<br>
-JP<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div>