Biny

Use dnsmasq to provide DNS & DHCP services

Biny 2023-02-02 13:18:32    616 次浏览

Install dnsmasq

First, install the dnsmasq package:

sudo dnf install dnsmasq

Next, enable and start the dnsmasq service:

sudo systemctl enable --now dnsmasq

Configure dnsmasq

First, make a backup copy of the dnsmasq.conf file:

sudo cp /etc/dnsmasq.conf /etc/dnsmasq.conf.orig

public resolvers

CloudFlare:
1.1.1.1
1.0.0.1
2606:4700:4700::1111
2606:4700:4700::1001

Quad9:
9.9.9.9
149.112.112.112
2620:fe::11
2620:fe::fe:11

OpenDNS
208.67.222.222
208.67.220.220
2620:119:35::35
2620:119:53::53

 
内容加载中