Skip to content

Instantly share code, notes, and snippets.

@ares
Created July 1, 2022 08:34
Show Gist options
  • Save ares/5e4ec65ea65749036b50158829c7f052 to your computer and use it in GitHub Desktop.
Save ares/5e4ec65ea65749036b50158829c7f052 to your computer and use it in GitHub Desktop.
# All local (example.tst) queries are redirected to libvirt DNS provider
server=/example.com/192.168.122.1
mx-host=example.com,foreman.example.tst
ptr-record=1.122.168.192.in-addr.arpa,foreman.example.tst
# This main dnsmasq listens only on local address so libvirt can start its
# own dnsmasqs for each netwrok
listen-address=127.0.0.1
# For debugging purposes it's sometimes useful to see queries
log-queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment