|
| 1 | +# this should be the IP address in .env |
| 2 | +listen-address=172.80.0.2 |
| 3 | + |
1 | 4 | log-queries |
2 | | -# don't forward requests for names without domains |
3 | 5 | domain-needed |
4 | | -# don't forward requests for non-routed addresses |
5 | 6 | bogus-priv |
6 | | -# don't read resolv.conf |
7 | 7 | no-resolv |
8 | | -# windows :/ |
9 | 8 | filterwin2k |
10 | 9 |
|
| 10 | +# Use this if you want to use a bogus local domain |
| 11 | +# this way you can address hosts as "esphome.ctrlh" |
11 | 12 | domain=ctrlh |
| 13 | +local=/ctrlh/ |
| 14 | +no-hosts |
12 | 15 | expand-hosts |
13 | 16 |
|
14 | | -address=/backrest.ctrlh/192.168.13.2 |
15 | | -address=/dnsmasq.ctrlh/192.168.13.2 |
16 | | -address=/dumpster.ctrlh/192.168.13.2 |
17 | | -address=/calibre/192.168.13.2 |
18 | | -address=/calibre.ctrlh/192.168.13.2 |
19 | | -address=/cyberchef.ctrlh/192.168.13.2 |
20 | | -address=/esphome/192.168.13.2 |
21 | | -address=/esphome.ctrlh/192.168.13.2 |
22 | | -address=/frigate.ctrlh/192.168.13.2 |
23 | | -address=/glances/192.168.13.2 |
24 | | -address=/glances.ctrlh/192.168.13.2 |
25 | | -address=/hass/192.168.13.2 |
26 | | -address=/hass.ctrlh/192.168.13.2 |
27 | | -address=/invidious/192.168.13.2 |
28 | | -address=/invidious.ctrlh/192.168.13.2 |
29 | | -address=/mopidy.ctrlh/192.168.13.2 |
30 | | -address=/mqtt.ctrlh/192.168.13.2 |
31 | | -address=/ntp.ctrlh/192.168.13.2 |
32 | | -address=/weather.ctrlh/192.168.13.2 |
33 | | -address=/wiki.ctrlh/192.168.13.2 |
34 | | -address=/zig.ctrlh/192.168.13.2 |
35 | | -#address=//192.168.13.2 |
| 17 | +# disable lookup caching at the expense of increased network traffic and latency |
| 18 | +local-ttl=0 |
| 19 | +max-cache-ttl=0 |
| 20 | + |
| 21 | +hostsdir=/etc/hosts.d |
| 22 | + |
| 23 | +# you can add individual hostnames if you want |
| 24 | +# address=/DOMAIN.NAME/IP.ADD.RE.SS |
| 25 | + |
| 26 | +# chain queries to other internal DNS servers using the hackstack |
| 27 | +server=/corginium.ctrlh/192.168.13.11 |
36 | 28 |
|
37 | | -#server=1.1.1.1 |
| 29 | +# default DNS server |
| 30 | +# 9.9.9.9 is considered more private than Google (8.8.8.8) or Cloudflare (1.1.1.1) |
38 | 31 | server=9.9.9.9 |
0 commit comments