Re: [Hampshire] Hostnames

Top Page

Reply to this message
Author: Alex Dicks
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Hostnames
On 29/01/13 15:29, Tony Whitmore wrote:
> On 2013-01-29 15:25, Leo wrote:
>> With the increasing number of computers I seem to be acquiring it's
>> getting a bit of a pain to manage hostnames/ips. I have an old
>> computer running debian acting as a firewall and dhcp server though.
>> So I was wondering is there some way I can get it to record the
>> hostnames of the computers it gives ips to? So that if I:
>> ping hostname2
>> from the computer called hostname1 it won't go looking on the
>> internet for hostname2 (as it currently does)?
>
> It's totally possible to integrate DHCP and DNS. You don't mention which
> distro, but assuming it's Ubuntu, check this out:
>
> http://askubuntu.com/questions/162265/how-to-setup-dhcp-server-and-dynamic-dns-with-bind


Dnsmasq <http://www.thekelleys.org.uk/dnsmasq/doc.html> is a minimal
DNS/DHCP server. It's easy to set it up so that you just have one
/etc/hosts file on your server, and all other computers just use DHCP
with no special configuration. BIND is much more flexible, but probably
overkill for managing a small home network.

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------