how to change DNS servers when using DHCP?
#1
I have DHCP and there is NO WAY to change the DNS servers on my router (also, DHCP is either ON or OFF, there's no way to configure anything about it like IP, range, etc). Terrible system, but there you go.

If I try to change the DNS server in the settings, I'm told "You may not change DNS servers when using the DHCP setting". Oh.

What's the way to do this? Just turn off DHCP and hope I don't collide with IP's on my lan?
Reply
#2
Not really Kodi-related as that sounds much more like a core Linux issue, but...

When you set up DHCP, you set up a range of addresses (e.g. 192.168.1.100-192.168.1.254). Give non-DHCP systems static IP addresses outside of that range (e.g. < 192.168.1.100). Job done, no collisions, just the manual overhead of keeping track of systems and addresses.
Reply
#3
Or you could just buy a Raspberry Pi, install DNS software on that and stick that on your network to act as your DNS server and switch the router server off completely.

A few links below for examples of how to set that up, but a quick search will show you many more examples:

https://www.theurbanpenguin.com/raspberr...ns-server/
http://www.linux-magazine.com/Issues/201...on-Rasp-Pi
http://workshop.botter.ventures/2013/10/...pberry-pi/
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#4
(2016-11-08, 11:40)frumbert Wrote: I have DHCP and there is NO WAY to change the DNS servers on my router (also, DHCP is either ON or OFF, there's no way to configure anything about it like IP, range, etc). Terrible system, but there you go.

If I try to change the DNS server in the settings, I'm told "You may not change DNS servers when using the DHCP setting". Oh.

What's the way to do this? Just turn off DHCP and hope I don't collide with IP's on my lan?

Which distro are you running?
HTPCs: 2 x Chromecast with Google TV
Audio: Pioneer VSX-819HK & S-HS 100 5.1 Speakers
Server: HP Compaq Pro 6300, 4GB RAM, 8.75TB, Bodhi Linux 5.x, NFS, MySQL
Reply
#5
(2016-11-08, 12:07)DarrenHill Wrote: Or you could just buy a Raspberry Pi, install DNS software on that and stick that on your network to act as your DNS server and switch the router server off completely.

A few links below for examples of how to set that up, but a quick search will show you many more examples:

https://www.theurbanpenguin.com/raspberr...ns-server/
http://www.linux-magazine.com/Issues/201...on-Rasp-Pi
http://workshop.botter.ventures/2013/10/...pberry-pi/
that's what I did. Works well.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
how to change DNS servers when using DHCP?0