You are Here:
2023 - The Year of the Linux Lite Desktop



Change DNS server URL - to Pi-Hole server?

Author (Read 1620 times)

0 Members and 4 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
  • I come here a lot
  • *****
  • 390
    Posts
  • Reputation: 61
  • Linux Lite Member

  • Linux Lite: 5.8 64bit

  • 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.
 

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

gotLL

  • New to Forums
  • *
  • 17
    Posts
  • Reputation: 1
  • Linux Lite Member

  • Linux Lite: 3.8 32bit

  • 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
  • I come here a lot
  • *****
  • 390
    Posts
  • Reputation: 61
  • Linux Lite Member

  • Linux Lite: 5.8 64bit

  • 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
 

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

gotLL

  • New to Forums
  • *
  • 17
    Posts
  • Reputation: 1
  • Linux Lite Member

  • Linux Lite: 3.8 32bit

  • 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

2023 - The Year of the Linux Lite Desktop