When running something like pasta --config-net --dns 1.1.1.1 --dns-forward 192.168.0.1 nslookup google.com 192.168.0.1 pasta uses 0.0.0.0 on the host as dns server target ip (which gets translated to 127.0.0.1 by the kernel) instead of the given --dns ip (1.1.1.1).
Fixed in commit d989eae308c2 ("udp: Translate source address of resolver only for DNS remapped queries"), released in 2024_03_18.615d370.