2
I used to use Amahi, and Amahi by default has a built-in DHCP and DNS servers switched on.
Now, I removed Amahi, and am assembling my own home server using Ubuntu server.
My setup: an ADSL modem / WiFi router, a server connected to it with Ethernet cable, and a number of clients (from 2 to 5 normally) connecting over WiFi.
The router has built-in DHCP, and I normally use some external (not ISP's) DNS addresses, like Google's or OpenDNS'.
Does it make sense setting a separate DHCP on the server machine? Setting it as a DNS cache for the LAN?
I thought he meant ditching the one on the router and only having one on the server, and in that case, I was in favor of just the one: On the router. – KCotreau – 2011-08-06T23:40:04.713
well, ok. I expected that, but assumed I may be missing something. and what about setting th eserver as a DNS? it could cache the records and thus give some internet speed boost? and if settings dns there, dhcp should be there as well, if I'm not mistaken – Guard – 2011-08-07T11:51:14.787
@Guard: You don't necessarily have to setup DNS and DHCP on the same physical device. If you are happy with the router's DHCP and/or DNS services, then I would just leave it. A DNS server will speed up resolution, but it won't be a significant boost to your internet speeds unless you have a rather high latency connection to your current DNS resolvers. – surfasb – 2011-08-07T12:19:55.420
There is not a huge overhead with querying your DNS server for a few client computers. I would just continue to let them get the DNS settings from the router' DHCP, and let them query the DNS server on the Internet directly. – KCotreau – 2011-08-07T13:08:55.533
While, indeed, they don't have to be on the same device, having a DHCP server that talks directly to the concomitant DNS server is a definite boon. The DHCP server knows exactly when leases are granted and expire, and can add and remove DNS database entries exactly as appropriate. One also doesn't need to grant DNS Update access to all and sundry for one's DNS database — only to the DHCP server. – JdeBP – 2011-08-08T00:47:04.713