[TriLUG] DNS and DHCP

Roy Vestal rvestal at trilug.org
Wed Aug 10 21:27:07 EDT 2011


  Thanks Jonathan,
  I thought of Bonjour as most of my machines are Macs, but I couldn't 
remember the linux "counterpart". Avahi did the trick.

-Roy

On 8/8/11 11:26 PM, Jonathan Woodbury wrote:
> DNSMasq probably is the way to go.  But it is worth also knowing about
> multicast DNS.  If you're running Apple's bonjour on Mac or Windows or the
> avahi-daemon on Linux (standard equipment with Ubuntu), you can probably
> already resolve your hosts at home by appending .local to their host names.
>   For example:
>
> jpwoodbu at chapman:~$ ping fry.local -c 1
> PING fry.local (10.0.6.185) 56(84) bytes of data.
> 64 bytes from fry.local (10.0.6.185): icmp_req=1 ttl=64 time=0.794 ms
>
> jpwoodbu at chapman:~$ ping mahler.local -c 1
> PING mahler.local (10.0.6.182) 56(84) bytes of data.
>
> Fry is one of my Linux systems and mahler is running Windows 7 with iTunes
> (and therefore Bonjour) installed.  Neither of those hosts have A records in
> any local DNS zones.  Although they both have AAAA records in public DNS. ;)
>
> Jonathan
>
> On Mon, Aug 8, 2011 at 10:47 PM, Alan Porter<porter at trilug.org>  wrote:
>
>> Give dnsmasq a try... it does exactly what you describe,
>> plus it's a DHCP server, so it knows what machines have
>> what addresses on the local network.  Normal setup is
>> really simple, and yet it can also do some advanced
>> stuff.
>>
>> --
>> # ɹǝʇɹoԀ uɐl∀
>>
>>
>> --
>> This message was sent to: Jonathan Woodbury<jonathan at mybox.org>
>> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
>> address.
>> TriLUG mailing list : http://www.trilug.org/mailman/**listinfo/trilug<http://www.trilug.org/mailman/listinfo/trilug>
>> Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/**
>> options/trilug/jonathan%**40mybox.org<http://www.trilug.org/mailman/options/trilug/jonathan%40mybox.org>
>> TriLUG FAQ          : http://www.trilug.org/wiki/**
>> Frequently_Asked_Questions<http://www.trilug.org/wiki/Frequently_Asked_Questions>
>>

-- 
------------------------------------------
Roy Vestal
http://rpp.linuxmaniac.net
   .-.
   /v\    L   I   N   U   X
  // \\>Phear the Penguin<
/(   )\
  ^^-^^
------------------------------------------
"I sense much NT in you, NT leads to Blue Screen.  Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside."   - Unknown Unix Jedi




More information about the TriLUG mailing list