The only thing that I can find an entry for on the Juniper KB for DNS cache is for Netscreen and SRX firewalls which can perform a DNS proxy function.
It doesn't make sense that a switch would perform DNS caching when you think about it.
You should be able to point the switch at the new DNS server(s) without a reboot and the switch will resolve anything you ask of it against these new servers.
The /etc/resolv.conf file handles DNS resolution in the BSD shell and on my test EX systems the values here match what my switch is configured to do as far as the DNS domain name to add, DNS servers, etc.