GithubHelp home page GithubHelp logo

Diagnostics script about pi-hole HOT 4 CLOSED

pi-hole avatar pi-hole commented on April 28, 2024
Diagnostics script

from pi-hole.

Comments (4)

dschaper avatar dschaper commented on April 28, 2024

If you use nslookup (not installed by default, at least not in the Jessie Lite version...) you would be able to check if the resolver is using the right server and check if the address returned is correct. Maybe a head gravity.sh to grab the top (or top couple) of sites to check, and to parse the address that should be returned?

from pi-hole.

fayetted avatar fayetted commented on April 28, 2024

I just confirmed that nslookup and dig are both absent in a fresh install of Jessie-lite, however after the install of the dependencies, dnsutils is installed and includes both nslookup and dig.

What are your thoughts about testing for:

  1. Good domains - Google, openDNS, something that is relatively static
    Check that at least the 1st/2nd octet does NOT match (192.168., 10., 172.16-31)
  2. Blacklisted domains - Pull a few names from the gravity.list file.
    Check that the IP resolves to the IP of the current system.
  3. Whitelised domains - Pull a few names from the whitelist.txt file.
    Check that the IP matches the RFC1918 addresses from Test 1 (192.188., 10., 172.16-31.*)

I might work on this in the next day or two.

from pi-hole.

AzureMarker avatar AzureMarker commented on April 28, 2024

Sounds good

from pi-hole.

jacobsalmela avatar jacobsalmela commented on April 28, 2024

Added in v2.6

/usr/local/bin/pihole -d

from pi-hole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.