On Tue, Jul 08, 2014 at 02:36:30PM +0100, Laurie Brown wrote:
On 08/07/14 13:56, Chris Green wrote:
[SNIP] together e.g.
That "router doesn't do dns locally" is where I came in. Most routers of a few years ago *did* do local DNS but none seem to nowadays.
As you say most do allow one to assign fixed IPs to specific MAC addresses and that helps a bit, but as I said to Laurie it's *much* easier to type 'ssh bbb' than 'ssh 192.168.1.102'.
Yes, I could script the ssh connection but I use my laptop in several locations each of which has two or three things I want to connect to and hard-coding all that isn't ideal.
You probably need this:
http://en.wikipedia.org/wiki/Dnsmasq http://www.thekelleys.org.uk/dnsmasq/doc.html
I use dhcpd & djbdns here, but I also use dnsmasq on the firewall to control the IP addresses of the DMZ, which internally need to be RFC compliant, but externally have "proper" IP addresses. I've never used its other capabilities, but it looks ideal for you.
I already use dnsmasq at home, it's excellent.
I could use it at one of the locations I'm talking about as there's a BeagleBone Black there that could happily run dnsmasq.
However other locations don't have anything to run dnsmasq on. It can't be run on the laptop that I carry around as there wouldn't be any DHCP except when the laptop was there.