Yeah, as can be seen from .diff snippet, I'm editing /opt/vyatta/sbin/vyatta-dns-forwarding.pl
The set command is configure mode command, and should be in between these snippets
configure set service dns forwarding cache-size 301 commit save exit
Key here is to increment or decrement cache size, so perl script fires of, making the altered dnsmasq.bl active