jakenology / PSS

Pi-hole SafeSearch (PSS)
The Unlicense
54 stars 18 forks source link

Add startpage? #9

Open jdsmf opened 4 years ago

jdsmf commented 4 years ago

I just installed this on both my piholes, but it is not yet working. Is this because it is cached, and takes time to flush out the duckduckgo address?

Also, is it possible to add startpage to the list?

Thanks !

jakenology commented 4 years ago
  1. What version of Pi-hole are you using?
  2. What is your upstream resolver?
  3. Is there anything in your hosts file?
  4. What does /etc/dnsmasq.d/restrict.conf (may not be exact filename but you should be able to find it) look like?

I can definitely take a look at startpage for you :)

On Wed, May 27, 2020 at 10:26 AM jdsmf notifications@github.com wrote:

I just installed this on both my piholes, but it is not yet working. Is this because it is cached, and takes time to flush out the duckduckgo address?

Also, is it possible to add startpage to the list?

Thanks !

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jaykepeters/PSS/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBRUURM3XRQZ4MLQBKCS3TRTUWK7ANCNFSM4NMHW3VQ .

jdsmf commented 4 years ago

Hi Jayke,

Thanks for following up. Answers, in order: 1) v.5.0 2) The VPN DNS for PIA: 209.222.18.222 and 209.222.18.218 3) I believe it is just the defaults: 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters

4) This looks the way it should. It is a little long, but the first few lines are:

/tmp/safesearch.txt generated on 05/27/2020 10:17 by unifipi

Google SafeSearch Implementation

host-record=forcesafesearch.google.com,216.239.38.120 host-record=safe.duckduckgo.com,54.241.17.246 host-record=restrict.youtube.com,216.239.38.120 host-record=strict.bing.com,204.79.197.220 host-record=safesearch.pixabay.com,176.9.158.70 cname=google.com,www.google.com,forcesafesearch.google.com cname=google.ad,www.google.ad,forcesafesearch.google.com cname=google.ae,www.google.ae,forcesafesearch.google.com ...

jakenology commented 4 years ago

Thanks for that information! I will try that out tonight and report back to you with my findings. Something could have changed with recent Pi-hole updates, so my script may need to be updated. What does a dig on localhost do for google.com?

Jayke Peters jaykepeters@gmail.com +1 (320) 428-0505

On Wed, May 27, 2020 at 2:24 PM jdsmf notifications@github.com wrote:

Hi Jayke,

Thanks for following up. Answers, in order:

1.

v.5.0 2.

The VPN DNS for PIA: 209.222.18.222 and 209.222.18.218 3.

I believe it is just the defaults: 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 4.

This looks the way it should. It is a little long, but the first few lines are:

/tmp/safesearch.txt generated on 05/27/2020 10:17 by unifipi Google SafeSearch Implementation

host-record=forcesafesearch.google.com,216.239.38.120 host-record=safe.duckduckgo.com,54.241.17.246 host-record=restrict.youtube.com,216.239.38.120 host-record=strict.bing.com,204.79.197.220 host-record=safesearch.pixabay.com,176.9.158.70 cname=google.com,www.google.com,forcesafesearch.google.com cname=google.ad,www.google.ad,forcesafesearch.google.com cname=google.ae,www.google.ae,forcesafesearch.google.com ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jaykepeters/PSS/issues/9#issuecomment-634889095, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBRUUWQUL4PMSBGLYGV7FTRTVSG3ANCNFSM4NMHW3VQ .

jdsmf commented 4 years ago

By "localhost", I assume you mean on the pihole. If so, that gives: pi@unifipi:/etc/dnsmasq.d $ dig google.com

; <<>> DiG 9.10.3-P4-Raspbian <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17742 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;google.com. IN A

;; ANSWER SECTION: google.com. 300 IN A 172.217.164.238

;; Query time: 74 msec ;; SERVER: 192.168.1.53#53(192.168.1.53) ;; WHEN: Wed May 27 14:31:07 CDT 2020 ;; MSG SIZE rcvd: 55

jdsmf commented 4 years ago

Any progress?

jakenology commented 4 years ago

@jdsmf My apologies. Are we still having issues, or were those resolved, and now we just want Startpage added? I've been working many hours a week, so I have put coding/projects to the side temporarily, but I did see your message there and did not forget! Always in the back of my mind ;)

jdsmf commented 4 years ago

Actually, I think that it works now. It might have just taken time for the cache in my browsers to flush out with the old DNS.

I also looked into safe search with Startpage. It might not be so simple, since it works by settings, and not by domain.

jakenology commented 4 years ago

That’s good to hear! As for startpage that may not be so good, but I am always looking for other search providers that offer DNS-enforced safesearch.

On Fri, Jun 12, 2020 at 10:53 AM jdsmf notifications@github.com wrote:

Actually, I think that it works now. It might have just taken time for the cache in my browsers to flush out with the old DNS.

I also looked into safe search with Startpage. It might not be so simple, since it works by settings, and not by domain.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jaykepeters/PSS/issues/9#issuecomment-643347173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBRUUWN6A3W7QDBTQ4AAQDRWJFOBANCNFSM4NMHW3VQ .

-- Jayke Peters jaykepeters@gmail.com +1 (320) 428-0505