Matt W. wrote:
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.Running OpenBSD 3.2; just wondering if anyone knows/thinks it is possible to dynamically specify the DNS servers in dhcpd.confSomething like: option domain-name-servers $DNSIP1 $DNSIP2; I was occationally getting schetchy DNS probs. Finally figured out 2 of my 3 ISP-assigned DNS servers were deed/changed.
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
option domain-name-servers heaven, hell
would work... or even better might be:
option domain-name-servers ns, ns1, ns2
only ns1 and ns1 don't exist in cs.byu.edu, only ns.
Matt W.
PS If you do think it is possible some hints would be nice, I'm looking for
more than a yes or no. :)
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
