|
|
@ -23,6 +23,7 @@ HOST_IP=$(. /etc/default/lxc && ifip "$HOST_EXTERNAL_DEVICE") |
|
|
|
echo " |
|
|
|
server=$LXC_ADDR |
|
|
|
interface=lo |
|
|
|
bind-interfaces |
|
|
|
no-negcache |
|
|
|
log-queries |
|
|
|
log-facility=/var/log/dnsmasq.log |
|
|
@ -30,9 +31,11 @@ log-facility=/var/log/dnsmasq.log |
|
|
|
|
|
|
|
echo " |
|
|
|
server=${HOST_IP} |
|
|
|
bind-interfaces |
|
|
|
log-queries |
|
|
|
no-negcache |
|
|
|
log-facility=/var/log/lxc-dnsmasq.log |
|
|
|
no-resolv |
|
|
|
" >> /etc/lxc/dnsmasq.conf |
|
|
|
|
|
|
|
( |
|
|
|