Pro-tip: Do not put weaveDNS on the same subnet as the fallback DNS server.
It's more precise to use dig rather than ping. The stock ubuntu image doesn't come with dig (in package dnsutils), but luckily Aanand made an image which is exactly ubuntu+dnsutils.