Raspberry PI as Relay
launched
Minetta Gould
launched
Special thanks to Eric Nix for helping our team create this documentation. Hope this helps! https://help.dnsfilter.com/hc/en-us/articles/44562386164883-Install-DNS-Relay-on-Raspberry-Pi
Eric Nix
Minetta Gould now we just need IPv6 support on the relay servers. :D
Minetta Gould
Eric Nix: Hey, only 24 usable hours in everyday, right?!? I looked into this extra special for you, and let’s just say IPv6 Relay support is closer to "launched" than “not started”… so keep an eye on our Release Notes in the coming months! �
Eric Nix
Minetta Gould When you say IPv6 relay support, it looks like it's currently supported. Are you talking about subnet support is coming soon (i.e., ability to route specific subnets to specific policies)?
Minetta Gould
Eric Nix What’s in progress is full IPv6 support for the Relay, including the ability to:
- Define IPv6 LAN subnets and map them to specific policies
- Configure the Relay to listen on IPv4, IPv6, or both
- Forward DNS traffic to our resolvers over IPv6
So while IPv6 visibility exists now, the upcoming updates will bring full subnet and policy control for IPv6 networks. You can follow that progress via this Canny post: IPv6 Support for Relays
Eric Nix
Minetta Gould love this!!!
Eric Nix
I was able to successfully deploy the DNS relay server on my Synology NAS using docker/container manager. Just tried installing it on my Raspberry Pi 5, but I'm getting exec errors.
Update: I was able to get it working with help from support.
Don't use Docker to run it. It's not compatible with Raspberry Pi.
Here's what I did:
- Raspberry Pi 5 (A76 processor)
- Generate your config file using the DNSFilter relays config page
- Create a directory in your Pi to hold everything
-- I used /containers/dnsfilter because I was planning on installing it via Docker
-- I created relay.reg and docker-compose.yml -- no clue if these are required for the binary (probably not) -- note that docker-compose.yml sample in their support page has an error in line 2 -- all lines need to be moved to the left by 2 spaces to be compatible with Docker -- not really an issue installing the binary though
- Download the binary for Linux arm64
- Install the binary in the same directory
- Change to root user by using the "sudo su" command
- Create a file called dnsfrelay.service as detailed here: https://help.dnsfilter.com/hc/en-us/articles/34628862150803-Auto-start-the-DNS-Relay-in-Linux
-- the config needs to be changed to your directory and also change relay-linux-amd64 to relay-linux-arm64
- You can use nano to edit it or I just used macOS TextEdit, used scp to move it to my dnsfilter directory, and then while logged in as root user used mv to move it to /etc/systemd/system
- run "systemctl start dnsfrelay"
- run "systemctl enable dnsfrelay"
-- if you're not logged in as root user (sudo su) then it'll ask for password; if you're root it won't ask
- run "sudo reboot" and see if it starts up
Hopefully DNSFilter will update the instructions to be more clear (or create a video). A lot more people would use relays if they were more clear with instructions. It's nice being able to look at what LAN IP requested the domain name.
I changed my relay.conf config to include a hostname (going to install on a second Pi for backup), VLANs, and to use DoT/TLS only.
Hopefully this helps get you up and running!
Eric Nix
I've previously suggested they just develop a hardware device and market it. I think there would be enough interest that it would help them with subscribers. Have a nice GUI to configure things.