Dnsmasq

De La Wiki de KiVi
Revisión del 12:33 2 mar 2025 de Admin (discusión | contribs.) (Página creada con «sudo dnf install dnsmasq sudo systemctl stop systemd-resolved\nsudo systemctl disable systemd-resolved\nsudo systemctl mask systemd-resolved sudo firewall-cmd --zone=external --add-service=dns sudo firewall-cmd --zone=external --add-service=dhcp sudo firewall-cmd --relad sudo nvim /etc/dnsmasq.d/01_mainkivi.conf listen-address=127.0.0.1 domain-needed bogus-priv no-resolv server=208.67.222.222 server=208.67.220.220 local=/mainkivi.info/ listen-address=::…»)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)

sudo dnf install dnsmasq


sudo systemctl stop systemd-resolved\nsudo systemctl disable systemd-resolved\nsudo systemctl mask systemd-resolved

sudo firewall-cmd --zone=external --add-service=dns

sudo firewall-cmd --zone=external --add-service=dhcp

sudo firewall-cmd --relad

sudo nvim /etc/dnsmasq.d/01_mainkivi.conf


listen-address=127.0.0.1

domain-needed

bogus-priv

no-resolv

server=208.67.222.222

server=208.67.220.220

local=/mainkivi.info/

listen-address=::1,127.0.0.1,192.168.1.3

expand-hosts

domain=mainkiivi.info

dhcp-range=192.168.1.100,192.168.1.200,24h

dhcp-option=option:router,192.168.1.1

dhcp-authoritative

dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases


sudo systemctl enable dnsmaq

sudo systemctl start dnsmaq