You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Change DNS server URL - to Pi-Hole server?

Author (Read 3755 times)

0 Members and 2 Guests are viewing this topic.

Re: Change DNS server URL - to Pi-Hole server?
« Reply #4 on: November 11, 2022, 01:32:08 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 777
    Posts
  • Reputation: 143
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
As I remember,  manually setting IP addressing was done through the network icon, but I don't recall all the detail.

If the DHCP server is set to give out the pi-hole address as DNS to clients, it should work across the board - so you need to investigate what is going on there, otherwise you'll need to be tweaking all your devices.

However, 3.8 is out of support and isn't getting updated.   Connecting any device with unpatched software to the Internet is a security risk.
clueless
 

Re: Change DNS server URL - to Pi-Hole server?
« Reply #3 on: November 11, 2022, 12:55:24 AM »
 

gotLL

  • New to Forums
  • *
  • 18
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: unknown

  • VIDEO CARD: unknown

  • Kernel: 5.x
Are you using DHCP ?

Either set your DHCP server (probably your router) to give out the pi-hole address for DNS.
Or set your Linux Lite machine not to use DHCP and manually assign fixed values to suit your set up for

IP Address
Mask
Default Gateway

Sorry - I don't know where to set those parameters within my Linux Lite network settings
I do have the ISP router configured with the PI Hole IP - but it didn't work.

However - after some extensive digging around online - any playing with several options - I believe I have one that will work.
I added a line to the /etc/network/interfaces file
The line is like this: dns-nameserver (Pi-Hole IP address here)

Now at system startup - this IP address is added to the Network DNS list.
And is the first item on the list.
So I think that will do the job.
Thanks!
 

Re: Change DNS server URL - to Pi-Hole server?
« Reply #2 on: November 09, 2022, 06:02:39 PM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 777
    Posts
  • Reputation: 143
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Are you using DHCP ?

Either set your DHCP server (probably your router) to give out the pi-hole address for DNS.
Or set your Linux Lite machine not to use DHCP and manually assign fixed values to suit your set up for

IP Address
Mask
Default Gateway
DNS
clueless
 

Change DNS server URL - to Pi-Hole server?
« Reply #1 on: November 09, 2022, 01:07:41 PM »
 

gotLL

  • New to Forums
  • *
  • 18
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: unknown

  • VIDEO CARD: unknown

  • Kernel: 5.x
Hello All,
I have Linux Lite 3.8 on an older 32bit laptop
The Ubuntu version is 16.04

I've recently built a Pi-Hole system
When I select "Network" in the Linux settings - I can change the default IP address to my PI-hole address - and the system works.
But as soon as I restart the OS - it reverts back to the default IP address.

Can anyone tell me what file I should update with my PI-Hole's IP address - so that it becomes the default DNS IP address?
Sincere thanks!
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section