Skip to content

Commit dbedfe2

Browse files
author
Jayapal
committed
Configured dnsmasq to listen on all interfaces so that vpn client gets dns
1 parent d543e2a commit dbedfe2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

systemvm/patches/debian/config/etc/dnsmasq.conf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ local=/2.vmops-test.vmops.com/
8787
# specified interfaces (and the loopback) give the name of the
8888
# interface (eg eth0) here.
8989
# Repeat the line for more than one interface.
90-
interface=eth0
90+
#interface=eth0
9191
# Or you can specify which interface _not_ to listen on
9292
except-interface=eth1
9393
except-interface=eth2
@@ -108,7 +108,7 @@ no-dhcp-interface=eth2
108108
# want dnsmasq to really bind only the interfaces it is listening on,
109109
# uncomment this option. About the only time you may need this is when
110110
# running another nameserver on the same machine.
111-
bind-interfaces
111+
#bind-interfaces
112112

113113
# If you don't want dnsmasq to read /etc/hosts, uncomment the
114114
# following line.

systemvm/patches/debian/config/etc/init.d/cloud-early-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ setup_dnsmasq() {
706706
sed -i -e "s/^dhcp-range_ip6=.*$//" /etc/dnsmasq.conf
707707
fi
708708

709-
sed -i -e "s/^[#]*listen-address=.*$/listen-address=$LOCAL_ADDRS/" /etc/dnsmasq.conf
709+
#sed -i -e "s/^[#]*listen-address=.*$/listen-address=$LOCAL_ADDRS/" /etc/dnsmasq.conf
710710

711711
if [ "$RROUTER" == "1" ]
712712
then

0 commit comments

Comments
 (0)