Discussion
Is it possible to redirect urls with pihole. So www.abc.co.uk goes to www.xyz.co.uk ?
A quick Google suggest maybe not, but wondering if there is a way around it.
A quick Google suggest maybe not, but wondering if there is a way around it.
Thought I'd ask in here rather than starting a new thread....
Anyone successfully use a pinhole and able to make l/receive WiFi calls via Vodafone?
Recently switched to Vodafone for WiFi calling, it has worked in the past but now it doesn't.
I don't recall changing anything recently so I don't see why it would stop working.
I've tried multiple dns's, enabling/disabling ipv6, etc.
There are no relevant queries being blocked by the pi, but I do recall seeing something along the lines of "3gnetworking" in my logs previously, but don't get them now.
Anyone successfully use a pinhole and able to make l/receive WiFi calls via Vodafone?
Recently switched to Vodafone for WiFi calling, it has worked in the past but now it doesn't.
I don't recall changing anything recently so I don't see why it would stop working.
I've tried multiple dns's, enabling/disabling ipv6, etc.
There are no relevant queries being blocked by the pi, but I do recall seeing something along the lines of "3gnetworking" in my logs previously, but don't get them now.
Semmelweiss said:
Dave. said:
I haven't tried that yet, it does my DHCP too, I'm going to try it on works WiFi tomorrow before disturbing too much here.
You can disable blocking without affecting the DHCP server on the PiHole. It's on the menu on the left hand side of the Web Management page.GlenMH said:
I have a pihole running on my NAS that does dns for the whole network in my house. DHCP is handled by the router. Vodafone wifi calling works very well - we are in a dip and I can't get 4G in some bits of the house and no sniff of 5G inside at all.
That’s good to know, thanks.Which DNS service are you using? IPv4/6/both/etc?
Ta.
Try CloudfareD on the PiHole - Secure DNS
wget https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-st...
tar -xvzf cloudflared-stable-linux-arm.tgz
sudo cp ./cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v
sudo chown cloudflared:cloudflared /etc/default/cloudflared
sudo chown cloudflared:cloudflared /usr/local/bin/cloudflared
Description=cloudflared DNS over HTTPS proxy
After=syslog.target network-online.target
[Service]
Type=simple
User=cloudflared
EnvironmentFile=/etc/default/cloudflared
ExecStart=/usr/local/bin/cloudflared proxy-dns $CLOUDFLARED_OPTS
Restart=on-failure
RestartSec=10
KillMode=process
[Install]
WantedBy=multi-user.target
sudo systemctl start cloudflared
sudo systemctl status cloudflared
; <<>> DiG 9.10.3-P4-Ubuntu <<>> @127.0.0.1 -p 5053 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65181
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1536
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 299 IN A 243.65.127.221
;; Query time: 3 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; MSG SIZE rcvd: 65
wget https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-st...
tar -xvzf cloudflared-stable-linux-arm.tgz
sudo cp ./cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v
- Configuring cloudflared to run on startup
- Create a cloudflared user to run the daemon:
- Proceed to create a configuration file for cloudflared by copying the following in to /etc/default/cloudflared. This file contains the command-line options that get passed to cloudflared on startup:
- Copy into cloudflared file
- Save file and exit
sudo chown cloudflared:cloudflared /etc/default/cloudflared
sudo chown cloudflared:cloudflared /usr/local/bin/cloudflared
- Then create the systemd script by copying the following in to /etc/systemd/system/cloudflared.service. This will control the running of the service and allow it to run on startup:
- Copy into cloudflared.service
Description=cloudflared DNS over HTTPS proxy
After=syslog.target network-online.target
[Service]
Type=simple
User=cloudflared
EnvironmentFile=/etc/default/cloudflared
ExecStart=/usr/local/bin/cloudflared proxy-dns $CLOUDFLARED_OPTS
Restart=on-failure
RestartSec=10
KillMode=process
[Install]
WantedBy=multi-user.target
- Enable the systemd service to run on startup, then start the service and check its status:
sudo systemctl start cloudflared
sudo systemctl status cloudflared
- Run the following dig command, a response should be returned similar to the one below:
; <<>> DiG 9.10.3-P4-Ubuntu <<>> @127.0.0.1 -p 5053 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65181
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1536
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 299 IN A 243.65.127.221
;; Query time: 3 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; MSG SIZE rcvd: 65
megaphone said:
Have you tried a new SD card?
Good call. I've been running them for years and have found that even the very best SD cards have a life of 8-12 months before needing replacement. They don't like constant writes.I moved to booting from SSD earlier this year and no more worries. Easy if you are running Pi 4's.
about 8 months ago when RPI's were selling for far too much money I sold my Pi4's one running pihole and open media vault, the other running home assistant for £100 each, after having had them running for over 2 years. I then bought a second hand HP t630, a bit of ram and an ssd. It now runs the stuff 2 pi's ran and all for about £70. Unless you need the gpio pins I can't see why you would run a pi, apart from the power consumption, but that is irrelevant if you end up running more than one pi.
ARHarh said:
about 8 months ago when RPI's were selling for far too much money I sold my Pi4's one running pihole and open media vault, the other running home assistant for £100 each, after having had them running for over 2 years. I then bought a second hand HP t630, a bit of ram and an ssd. It now runs the stuff 2 pi's ran and all for about £70. Unless you need the gpio pins I can't see why you would run a pi, apart from the power consumption, but that is irrelevant if you end up running more than one pi.
I run one PiHole on a Pi Zero 2W (currently £17 but I paid around £12). Takes up no space and powered by an otherwise-unused USB port on my router.I run a second PiHole on an old RPi Model 3 (still available new, around £30) but that's primarily a webcam.
I guess the ideal solution is to put it on whatever you have lying around that's happy running 24/7, silently and with minimal power consumption.
Semmelweiss said:
megaphone said:
Have you tried a new SD card?
Good call. I've been running them for years and have found that even the very best SD cards have a life of 8-12 months before needing replacement. They don't like constant writes.Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff