DNS configurations for dev environment: localhost wildcard matching

The goal of this blog post is to forward requests to *.local.zone to 127.0.0.1 for local development purposes. local.zone can be any domain in general.

Using /etc/hosts

127.0.0.1       localhost
255.255.255.255…