1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00
This commit is contained in:
DL6ER 2017-03-03 23:14:12 +01:00
parent dd971b6ee5
commit f626406685
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,8 @@ no-resolv
server=@DNS1@
server=@DNS2@
interface=@INT@
cache-size=10000
log-queries

View File

@ -608,6 +608,7 @@ version_check_dnsmasq() {
echo -n "::: Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf..."
cp ${dnsmasq_pihole_01_snippet} ${dnsmasq_pihole_01_location}
echo " done."
sed -i "s/@INT@/$PIHOLE_INTERFACE/" ${dnsmasq_pihole_01_location}
if [[ "${PIHOLE_DNS_1}" != "" ]]; then
sed -i "s/@DNS1@/$PIHOLE_DNS_1/" ${dnsmasq_pihole_01_location}
else