add hosts support for dns

This commit is contained in:
ginuerzh
2022-01-19 16:33:27 +08:00
parent 1e613fc2e6
commit f357117056
11 changed files with 212 additions and 53 deletions

View File

@ -295,7 +295,7 @@ resolvers:
hosts:
- name: hosts-0
entries:
mappings:
- ip: 127.0.0.1
hostname: localhost
- ip: 192.168.1.10