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