[Pdns-users] How to send NXDOMAIN using pipe backend?
Aki Tuomi
cmouse at youzen.ext.b2.fi
Thu Jun 18 14:02:27 UTC 2015
On Wed, Jun 17, 2015 at 10:20:31PM -0700, indranil.db wrote:
> Hi,
>
> Using pipe backend with unix socket to connect to another process which
> is responsible for sending response of DNS queries.
> In case of NXDOMAIN there are multiple communication between PDNS and the
> backend process. Below are the logs:
>
> Jun 18 11:09:26 Query: 'Q abc.com.my.domain.com IN SOA -1 127.0.0.1'
> Jun 18 11:09:26 Query: 'Q com.my.domain.com IN SOA -1 127.0.0.1'
> Jun 18 11:09:26 Query: 'Q abc.com.my.domain.com IN NS -1 127.0.0.1'
> Jun 18 11:09:26 Query: 'Q abc.com.my.domain.com IN ANY -1 127.0.0.1'
> Jun 18 11:09:26 Query: 'Q *.com.my.domain.com IN ANY -1 127.0.0.1'
>
> However for cases when response is found then the communications are less.
> here are the logs:
>
> Jun 18 11:10:40 Query: 'Q xyz.com.my.domain.com IN SOA -1 127.0.0.1'
> Jun 18 11:10:40 Query: 'Q xyz.com.my.domain.com IN ANY -1 127.0.0.1'
>
> Is there anyway we can reduce the NXDOMAIN communication calls and make it
> more faster?
>
> -- IB
>
>
To send NXDOMAIN, just reply with END. No DATA.
Aki
More information about the Pdns-users
mailing list