In the context of a semi-nomadic culture that had just conquered the urban Canaanites, pigs were city animals distinct from the nomadic sheep and goats—a ban on pork would prevent cultural assimilation. Same with the ban on shellfish that would have been standard in the coastal cities.
For a parallel, look at segregation-era white Americans banning music and other cultural pratices associated with African-Americans.
You could set it to use your own DNS server, and have the server block anything not on a whitelist.