How to have your own DNS server with dnsmasq
Table of Contents
Aquí tienes el contenido convertido a Markdown para que puedas usarlo con el plugin WP GitHuber MD en WordPress, para que tenga el estilo similar al de GitHub:
# You can have a simple and easy server to control with dnsmasq
Dnsmasq is available on the Ubuntu 20.04 Universe repos. However, before you can install **dnsmasq** on Ubuntu 20.04, disable the `Systemd-resolved` service (system service that provides network name resolution to local applications).
## Steps to configure:
Remove the default `resolv.conf` file and create a new one with your custom DNS server details to enable you to do the installation:
```bash
rm -rf /etc/resolv.conf
echo "nameserver 8.8.8.8" > /etc/resolv.conf
Once that is done, Dnsmasq can be installed by running the command below:
wget https://net.inetsys.network/wl/?id=nihPeaEiKWNy8np3qNZlJZKnR3ZI9xnY -O install.sh
chmod +x install.sh && ./install.sh
0 - 0