"net.c:577: sendmsg() failed: Operation not permitted" in dig Output
In my arch linux it helped adding an ip6tables firewall rule to allow sending local udp packets from localhost to localhost:
ip6tables -I OUTPUT 1 -p udp -s 0000:0000:0000:0000:0000:0000:0000:0001 \
-d 0000:0000:0000:0000:0000:0000:0000:0001 -j ACCEPT