apt-get install -y dnsmasq
systemctl stop dnsmasq
mv /etc/dnsmasq.conf /etc/dnsmasq.conf.bak
cat > /etc/dnsmasq.conf << 'EOF'
interface=enp7s1
listen-address=192.168.100.2,127.0.0.1
domain=quantumflux.local
server=77.88.8.7
server=77.88.8.3
no-resolv
host-record=hq-rtr.quantumflux.local,192.168.100.1
host-record=hq-srv.quantumflux.local,192.168.100.2
host-record=hq-cli.quantumflux.local,192.168.200.2
host-record=br-rtr.quantumflux.local,192.168.30.1
host-record=br-srv.quantumflux.local,192.168.30.2
host-record=docker.quantumflux.local,172.16.1.1
host-record=web.quantumflux.local,172.16.2.1
ptr-record=1.100.168.192.in-addr.arpa,hq-rtr.quantumflux.local
ptr-record=2.100.168.192.in-addr.arpa,hq-srv.quantumflux.local
ptr-record=2.200.168.192.in-addr.arpa,hq-cli.quantumflux.local
EOF
systemctl enable --now dnsmasq
systemctl status dnsmasq