Linux
DIG supports getting queries from a file as well. Just put queries in a file, each query on a line by itself and then use -f option:
dig.txt:
a +short yurisk.info
-x 8.8.8.8
+short SOA yurisk.info

Then supply this file to the dig
$ dig -f dig.txt

Windows
DNS, DNS-cookbook