[lug] DNS lookup on local network

Hugh Brown hugh at math.byu.edu
Fri Dec 22 15:01:30 MST 2006


Kenneth D. Weinert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> David L. Anselmi wrote:
>> Kenneth D. Weinert wrote:
>>> I'm sure this has been done millions of times before.
>>>
>>> Since my Linksys BEFSR41v4 router is set up to do dynamic DNS for the
>>> inside network, what is the established way of getting to its table of
>>> assigned addresses? IE, basically local DNS.
> 
> My mistake - bad vocabulary.  It's not DDNS (although it has that, I've
> got it connected to DynDNS.org) - what I meant is that it's a DHCP
> server and it has a table of assigned addresses which I can see through
> the web interface. That's the table I thought I could use through some
> kind of DNS server for the local network.
> 
> The easiest way might be to just still allow a limited DHCP range, but
> assign the permanently connected machines inside the network to
> addresses outside of that range and maintain hosts files.
> 
> I just thought that if it was a DHCP server that somehow I could access
> that information.
> 
> Thanks for the clarification.
> 
> - --
> Ken Weinert

perl LWP and you can probably suck out what it has assigned, to which 
devices, etc.  and then populate the hosts file.

you could also just run a box as a dhcp/dns server and use that instead.



More information about the LUG mailing list