DD-WRT Static Internal DNS

All I can say is WOW!

I just did a firmware upgrade on my Linksys WRT54GS v4 to the latest stable DD-WRT bin, and I must say their are two massive benefits to upgrading your firmware if you haven’t already.

 

Part 1. Static Internal DNS / DHCP Leases

We can now organize all of our clients nodes the way WE want whilst still using DHCP to handle leases!  Simply paste your MAC, think up a clever hostname, and pop in a static IP and you are ready to rock with Static DNS.  Run dhclient and watch your machine grab the IP you set and the hostname you want.

 

Part 2. DNSMasq - Additional DNS Options

Ever want to attempt a PXE Boot or NFS Root installation of your favourite Linux distro - but you don’t want to go through the hassle or creating a private network with DHCPD and the whole IPTables nightmare? Don’t forget having to buy a switch - because not many people have these laying around any more (I only have 4).

 

You are in luck!  DD-WRT allows you to specify additional DNSMasq parameters to specify your tftpd server and the name of your pxe file, just add ” dhcp-boot=pxelinux.0,,<IP of TFTP Server> “into your :Additional DNS Options” under Administration -> Services.

It could not get much simpler than that - now go play!

Share/Save/Bookmark

1 Comment so far

  1. Craig on June 17th, 2008

    Nice article. Your slowly opening my eyes to all of this awesome networking related stuff I’ve been missing all of these years.