> It may be, depending on what exactly you mean. I understand your example
> line, which may be sorta possible, but I can think of another way
> depending on what you mean.
>
> Posting your dhcpd.conf file as it is now would give me a better idea of
> what you want to do to it.
>
> One thing that springs to mind immediately is that I think you can use
> hostnames instead of IPs for the domain-name-servers line (this is
> assuming ISC-DHCPD). Then if your server can look it up properly (maybe
> run it's own DNS server?... but that would solve your problem by
> itself...) it will give the IP that matches the name. For instance, if
> you were running a DHCP server in the CS department then

Ya, that was kind of a weak description.  Basically, I have a gateway that
NATs/Filters my cable connection.  The gateway gets a public IP and receives
DNSs through DHCP.  It also serves DHCP on the LAN; in those DHCPd options,
I pass along DNS servers to the LAN.  I'd like to dynamically get the DNSs
received from my ISP into my dhcpd.conf.  This would account for DNS server
changes, and for varying numbers of DNS servers.

I did consider using names instead, but that still wouldn't prove fail-safe
because the names could change, or the server could be taken down all
together.  All in all, don't waste too much brain power on it, it something
that would be nice, not crucial.

Matt W.


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to