This is a follow up for DNS configurations for dev environment (Part 1), with some useful troubleshooting tips and tricks here.
System DNS configuration
View the DNS configuration used by this system. It is expected to see the following.
$ scutil --dns...
domain : local.zone
nameserver : 127.0.0.1
flags : Request A records, Request AAAA records
reach : 0x00030002 (Reachable,Local Address,Directly Reachable Address)