[NTLUG:Discuss] quick and dirty dns lookups -vs-dhcp
Chris Cox
cjcox at acm.org
Tue Jul 16 10:19:58 CDT 2002
Richard Geoffrion wrote:
>Are there any methods by which a server can reverse lookup ip addresses that
>have been handed out by dhcp? In other words, if my dhcp server hands out
>an address, then future lookups on that address should resolve to whatever
>hostname is present in the dhcpd.leases file.
>
>Of course I say 'should', but it's more of a 'could?' What about some way
>to automatically populate the hosts file with assigned dhcp addresses?
>
>Can you tell that I don't know what to ask because I don't know what's
>possible?
>
Dynamic DNS (ddns).... I gave a presentation on this a few months ago.
In fact there are rough
examples at
http://www.biplane.com.au/~kauer/miscellaneous/dhcp/examples/index.html
(the ddns contribution is mine)
Now this is for populating DNS, not a host file... but nothing wrong
with running DNS if properly
secured.
Also, in my example at that link, you'll see how to do static
assignments based on MAC (hw)
address... which may be more what you are looking for. dhcp is really
an extension of the
old bootp protocol and the ISC dhcp server is capable of handling either.
At this Saturday's meeting, I will be running a ddns where the ISC dhcp
server will be
making updates to DNS under Win2k.... I can show the configs, or email
them to you for
your perusal if you want (obviously more difficult to email the gui
centric Win2k config
though), but you can certainly take a look at the dhcpd.conf (but it is
very similar to the
ones presented at the link above... I basically started with the ddns
one from there).
Regards,
Chris
More information about the Discuss
mailing list