Skip to content

Commit

Permalink
dnsmasq: added interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Dec 16, 2017
1 parent 4b07f0b commit 85c8722
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 9 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@

[v0.41.7](https://github.com/nextcloud/nextcloudpi/commit/6bb9c0c) (2017-12-12) replace ping to github.com to google.com
[v0.41.10](https://github.com/nextcloud/nextcloudpi/commit/72785d5) (2017-12-16) dnsmasq: added interface

[v0.41.6](https://github.com/nextcloud/nextcloudpi/commit/4f63c34) (2017-12-05) ncp-config: show changelog on updates
[v0.41.9](https://github.com/nextcloud/nextcloudpi/commit/e4e205f) (2017-12-14) fix occ command without execute permissions

[v0.41.5](https://github.com/nextcloud/nextcloudpi/commit/0fe56d8) (2017-12-05) nc-database: accept BTRFS filesystems
[v0.41.8](https://github.com/nextcloud/nextcloudpi/commit/26d6f66) (2017-12-13) Fixed configuration interoperability between nc-datadit and fail2ban. (#323)

[v0.41.7 ](https://github.com/nextcloud/nextcloudpi/commit/ce92a4f) (2017-12-12) replace ping to github.com to google.com

[v0.41.6 ](https://github.com/nextcloud/nextcloudpi/commit/4f63c34) (2017-12-05) ncp-config: show changelog on updates

[v0.41.5 ](https://github.com/nextcloud/nextcloudpi/commit/0fe56d8) (2017-12-05) nc-database: accept BTRFS filesystems

[v0.41.4 ](https://github.com/nextcloud/nextcloudpi/commit/231ede0) (2017-11-29) nc-limits: added PHP threads and Redis mem limits

Expand Down
4 changes: 3 additions & 1 deletion etc/nextcloudpi-config.d/dnsmasq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ DNSSERVER_=8.8.8.8
CACHESIZE_=150
DESCRIPTION="DNS server with cache"

INFO="Remember to point your PC and devices DNS to your Raspberry Pi IP"
INFO="Remember to point your PC and devices DNS or
you router DNS to your Raspberry Pi IP"

install()
{
Expand Down Expand Up @@ -65,6 +66,7 @@ configure()
[[ "$IP" == "" ]] && { echo "could not detect IP"; return 1; }

cat > /etc/dnsmasq.conf <<EOF
interface=$IFACE
domain-needed # Never forward plain names (without a dot or domain part)
bogus-priv # Never forward addresses in the non-routed address spaces.
no-poll # Don't poll for changes in /etc/resolv.conf
Expand Down

0 comments on commit 85c8722

Please sign in to comment.