Can I set access to all subdomains in my local domain in
127.0.0.1 localhost *.domain.local
Now it looks like
127.0.0.1 localhost domain.local mail.domain.local web.domain.local other.domain.local ...
No, wildcards are a DNS lookup thing; trying to do the same thing in your
No, you cant do that in your hosts file. You should though be able to setup dnsmasq quite easilly to do this. Adding
to the dnsmasq.conf file should do what you want.