# Add a wildcard dns entry on the HostOS
-echo "address=/${VSNAME}.$(hostname)/${VSIPADDR}" >> /etc/dnsmasq-vservers.conf
+echo "address=/${VSNAME}.$(hostname)/${VSIPADDR}" >> /etc/dnsmasq.d/vservers.conf
/etc/init.d/dnsmasq restart
# Copy the user's password from the host
# Remove dns entry on the host OS
-grep -v "${VSIPADDR}" /etc/dnsmasq-vservers.conf > /etc/dnsmasq-vservers.conf.new
-mv /etc/dnsmasq-vservers.conf.new /etc/dnsmasq-vservers.conf
+grep -v "${VSIPADDR}" /etc/dnsmasq.d/vservers.conf > /etc/dnsmasq.d/vservers.conf.new
+mv /etc/dnsmasq.d/vservers.conf.new /etc/dnsmasq.d/vservers.conf
# this isn't set because we don't pass options to remove
# USR=$PROFILEOPTION_username