Last active
November 28, 2023 21:59
-
-
Save kincl/6ff8cd97df8997bcf609492ab5be652f to your computer and use it in GitHub Desktop.
dnsmasq config with upstream dns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dhcp-range=192.168.10.100,192.168.10.150 | |
dhcp-option=option:router,192.168.10.3 | |
dhcp-option=option:dns-server,192.168.10.3 | |
log-dhcp | |
server=10.0.0.1 # upstream DNS | |
no-resolv | |
host-record=api.hattrick.redhat.com,192.168.10.98 | |
host-record=api-int.hattrick.redhat.com,192.168.10.98 | |
address=/apps.hattrick.redhat.com/192.168.10.99 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall-cmd --add-service=dns --permanent | |
firewall-cmd --add-service=dhcp --permanent | |
firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment