Fixes for www building, and hook in DNS