```yaml
# Static hosts for DNS server and connection establishment (like /etc/hosts)
#
# Wildcard hostnames are supported (e.g. *.clash.dev, *.foo.*.example.com)
# Non-wildcard domain names have a higher priority than wildcard domain names
# e.g.
foo.example.com > *.example.com > .example.com
# P.S. +.foo.com equals to .foo.com and
foo.com# hosts:
# '*.clash.dev': 127.0.0.1
# '.dev': 127.0.0.1
# '
alpha.clash.dev': '::1'
```
https://web.archive.org/web/20230521134928/https://dreamacro.github.io/clash/configuration/configuration-reference.html#configuration-reference