Skip to content

Commit

Permalink
fix: add coments for dns aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
cerico committed May 3, 2023
1 parent e0a50fc commit 519561b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/zsh/dns
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dnsvpn() {
dnsvpn() { # Override OpenVPN dns servers with local and google dns servers
local="dhcp-option DNS 127.0.0.1"
google="dhcp-option DNS 8.8.4.4"
brewser=`stat -f "%Su" /usr/local/bin/brew`
Expand All @@ -12,7 +12,7 @@ dnsvpn() {
cd -
}

dnsmasq () {
dnsmasq () { # Add local domain for dns eg dnsmasq raspberry.pi 192.168.1.102
if [[ $# -gt 1 ]] ; then
file="/usr/local/etc/dnsmasq.conf"
domain=`grep -n address=/.$1/ $file`
Expand Down

0 comments on commit 519561b

Please sign in to comment.