mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 02:09:05 +01:00
734 B
734 B
How to resolve Domains to custom IPs by using dnsmasq on the host
First edit /etc/hosts and add your overrides.
Then run the following commands (Arch Linux) to install, enable and start dnsmasq
# pacman -S dnsmasq
# systemctl enable dnsmasq
# systemctl start dnsmasq
Uncomment or add the following config to your docker-compose.yml web service section (172.17.0.1 is the docker default network IP):
dns:
- 172.17.0.1
After changing /etc/hosts you can do
# systemctl restart dnsmasq
How to use a different resolver
Uncomment or add the following config to your docker-compose.yml web service section (172.17.0.1 is the docker default network IP):
dns:
- 1.1.1.1
- 1.0.0.1