On Sun, Jan 14, 2001 at 10:48:00AM +1100, Ian Ward wrote:
> > This is the ago old problem of name resolution and DHCP.
> > Things like dynamic DNS solve this, however support for this is only
> really
> > present in Win2k native and ill bet its very broken at that.
> > Is there a dynamic DNS client/server setup for linux?
> >
> > BTW george, the way around the DNS issue is to use static mapping for the
> > DHCP allocation. So you use the MAC addr to assign an IP. Might get a bit
> > annoying to use. Perhaps static IPs for those people that you need to tell
> > apart. DHCP is good for pools of nodes that you don't need to tell apart.
> :/
> 
> 
> On a Redhat system (in the linuxconf stuff) there is  a dhcp2dns script that
> can be run in cron.
> (it is placed in cron by linuxconf if you use the DNS and DHCPD modules)
> This will update your zone file with info from dhcp.leases.
> It's just a perl script (that I can send to you)
>
Ewwww, linuxconf. There are better ways to do it, and they all don't involve having a 
stupid system configurater listen on port 98.

> There are potential problems with your dns being updated with the names that
> users have arbitarily assigned to their pc's.
>
Indeed. The solution is to hurt your users badly. :-P

> On my network I have opted to create the static entries in the dhcpd.conf
> file.
> You can doa "arp -a" to see the arp cache, then create the entries in
> dhcpd.conf like:
>
Ohhh, never knew that.

>         host mustang {
>                 hardware ethernet 00:d0:b7:10:46:88;
>                 fixed-address 203.55.82.10;
>         }
>
Knew that one, though. :-)

> 
> I like this as when I am installing and trying different OS's or dual
> booting, the system will always get the same IP
>
I use this at home, and when friends come over, they either get a static IP (if they 
have been nice enough to provide the MAC address beforehand :-), or a dynamically 
allocated one. Which reminds me, can I have different lease times for the dynamic 
addresses, and longer leases for the static addresses?

> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
> 

-- 
                                                    Steve
  "I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
                                                        --Me


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to