Systemd and containers
Systemd and containers
Posted Jun 11, 2015 10:14 UTC (Thu) by gfa (guest, #53331)In reply to: Systemd and containers by cortana
Parent article: Systemd and containers
of course it does
dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap50303112-34 --except-interface=lo --pid-file=/$RANDOM.pid --server=8.8.8.8 --dhcp-hostsfile=/tmp/1c83334d-7896-4b1d-9381-26108295f89d/host --addn-hosts=/tmp/addn_hosts --dhcp-optsfile=/tmp/opts
this way dnsmasq will bind exclusively to an interface (tap50303112-34 ) and will use 8.8.8.8 as dns server for that interface. more complex things can be done
anyway is good to have a choice
