Long answer: That's automatically done for you by libicd-network-3g-ipv6. It just puts the dns server in /var/run/resolv.conf.gprs (where dnsmasq looks for it) instead of /etc/resolv.conf (which disables dnsmasq's cache) Short answer: you don't have to do anything