cancel
Showing results for 
Search instead for 
Did you mean: 

DHCP server needed.. ideas please

Community Veteran
Posts: 14,380
Thanks: 713
Fixes: 10
Registered: 01-08-2007

DHCP server needed.. ideas please

I'm in need of a dhcp server for my lan. The plusnet router does the job but obviously specifies its own nameservers in the dhcp reply. Those nameservers don't support the webserver i have running on the network with various domains such as security.lan etc. While thats not a problem for a PC that can be configured separately my android phone is a bit of a pain!

 

So i need a dhcp server that is reliable, has good options / flexibility and is free. Any recommendations please?

Ta

I need a new signature... i'm bored of the old one!
8 REPLIES
Community Veteran
Posts: 3,274
Thanks: 339
Fixes: 12
Registered: 24-10-2013

Re: DHCP server needed.. ideas please

firstly, maybe you need to change your webserver rather than DHCP server.

secondly, you don't say if you want a software DHCP or a hardware DHCP. as you said "free" i assume you mean software, so what OS will you be running it on? what hardware will you be running it on?

thirdly, you could simply bin the trash that is the PN router and get a better device.

Community Veteran
Posts: 14,380
Thanks: 713
Fixes: 10
Registered: 01-08-2007

Re: DHCP server needed.. ideas please

The Web server is apache so nothing wrong with that. The problem is that local machines can (via my DNS server) lookup local network domains as long as each machine is configured to use my DNS. Android seems to rely on getting its DNS from dhcp and I've not found a way to change that manually. It would be nice to assign the DNS to all of them from a central dhcp server. 

As for the server, Yes software and running on Windows or a RPi original model b.

Can't afford to replace the pn hardware unfortunately, chance would be a fine thing! The nearest I have for that is the RPi I just mentioned.

Thanks for your help

I need a new signature... i'm bored of the old one!
Community Veteran
Posts: 5,439
Thanks: 1,421
Fixes: 34
Registered: 16-10-2014

Re: DHCP server needed.. ideas please

@7up - Have a look at dnsmasq this will run on the Pi, it's free and open source, supporting DNS and DHCP.

Community Veteran
Posts: 14,380
Thanks: 713
Fixes: 10
Registered: 01-08-2007

Re: DHCP server needed.. ideas please

Ta, I'll take a look at that.. 

I need a new signature... i'm bored of the old one!
mikelahey
Aspiring Pro
Posts: 196
Thanks: 68
Fixes: 10
Registered: 24-11-2015

Re: DHCP server needed.. ideas please

Pi Hole provides DHCP server functionality on the Raspberry Pi and it strips out the ad's on every device connected to your network.

https://pi-hole.net/

 

mikelahey
Aspiring Pro
Posts: 196
Thanks: 68
Fixes: 10
Registered: 24-11-2015

Re: DHCP server needed.. ideas please

I forgot to add that it provides dns functionality as well.

Community Veteran
Posts: 6,773
Thanks: 257
Fixes: 20
Registered: 16-02-2009

Re: DHCP server needed.. ideas please

@mikeahey just tried pi-hole on my Mint server, fails on FTL every time, seems a common issue, might try it on a pi tomorrow.

EDIT:

Works find on a pi zero W. Also fine on a zero with a wifi dongle, so must be something on the Mint config stopping the FTL bit.

Love the part where it also acts as a local name server so I can ping devices by name again. Will run it for a bit and see how it goes.

Community Veteran
Posts: 2,286
Thanks: 109
Fixes: 4
Registered: 18-02-2013

Re: DHCP server needed.. ideas please

I found ISC easy to manage for the Pi

sudo apt-get install isc-dhcp-server

Best recent bit of software I've used which is pretty over the top but great is Pfsense But you would need some old kit and a couple of ethernet cards. Also a fantastic Firewall. They also supply small form factor units like the SG1000 if you need the hardware.