After many attempts I found out why the connections do not happen the connections are not conserving the destination address in the response which causes the packets to be discarded this is because it is a connectionless udp protocol, after configuring the ubuntu kernel as routing table or packet marking I was not successful nxfilter insists on responding in the default route, I would like to know if nxfilter can work this way?
I redid some tests with bind9 dns server and to my surprise it works it responds conserving the input interface on which the packet was received, responding on the same interface, conserving the destination address from which the packet originated