mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-28 09:03:17 +00:00
Removed tesing IP
This commit is contained in:
parent
1b9ef47631
commit
32ab61ed6d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ goodListNames="google-public-dns-a.google.com google-public-dns-b.google.com"
|
|||
# Accepts 1 argument which is a host to resolve.
|
||||
verifyHostAddress() {
|
||||
status=""
|
||||
ip=`nslookup $1 192.168.100.122 | grep ^"Address:" | tail -1 | cut -d: -f2 | sed 's/ //g'`
|
||||
ip=`nslookup $1 | grep ^"Address:" | tail -1 | cut -d: -f2 | sed 's/ //g'`
|
||||
|
||||
if [[ $ip == $piholeIP ]]; then
|
||||
status="pi-hole IP"
|
||||
|
|
Loading…
Reference in a new issue