That is what i am doing, sending only "END\n". But then, i get another request which is a truncated one which is Jun 18 11:09:26 Query: 'Q com.my.domain.com IN SOA -1 127.0.0.1' Note that the "abc" is missing.
At this point i send SOA record. Finally i send no data. Refer to the logs i have mentioned earlier. So the data flow: > Jun 18 11:09:26 Query: 'Q abc.com.my.domain.com IN SOA -1 127.0.0.1' -- Send only END\n > Jun 18 11:09:26 Query: 'Q com.my.domain.com IN SOA -1 127.0.0.1' -- Now send SOA > Jun 18 11:09:26 Query: 'Q abc.com.my.domain.com IN NS -1 127.0.0.1' -- Send only END\n > Jun 18 11:09:26 Query: 'Q abc.com.my.domain.com IN ANY -1 127.0.0.1' -- Send only END\n as there is no record available If i do not send END at the start and instead send the SOA, then later send no data then i get NOERROR. So is it a way to tell PDNS in the first response only that no records available so that i stops sending more requests and just treat NXDOMAIN? -- IB -- View this message in context: http://powerdns.13854.n7.nabble.com/How-to-send-NXDOMAIN-using-pipe-backend-tp11628p11630.html Sent from the PowerDNS mailing list archive at Nabble.com. _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
