1
0
mirror of https://git.dn42.dev/wiki/wiki synced 2025-03-13 19:16:33 +00:00

Fix dnsmasq config

This commit is contained in:
dn42 wiki 2013-11-14 21:55:46 +01:00
parent d9991a92a4
commit ca51f390df

View File

@ -33,16 +33,17 @@ config dnsmasq
list server '/23.172.in-addr.arpa/172.22.0.53' list server '/23.172.in-addr.arpa/172.22.0.53'
``` ```
to /etc/config/dhcp and run /etc/init.d/dnsmasq restart. After that you are able to resolve .dn42 to `/etc/config/dhcp` and run `/etc/init.d/dnsmasq` restart. After that you are able to resolve `.dn42`
with the anycast DNS-Server, while your normal requests go to your standard DNS-resolver. with the anycast DNS-Server, while your normal requests go to your standard DNS-resolver.
for normal dnsmasq use For normal dnsmasq use
``` ```
server=/dn42/172.22.0.53 server=/dn42/172.22.0.53
server=/22.172.in-addr.arpa/172.22.0.53 server=/22.172.in-addr.arpa/172.22.0.53
server=/23.172.in-addr.arpa/172.22.0.53
``` ```
in dnsmasq.conf in `dnsmasq.conf`.
## PowerDNS recursor ## PowerDNS recursor
Add this to /etc/powerdns/recursor.conf (at least in Debian) Add this to /etc/powerdns/recursor.conf (at least in Debian)