Hi! Lee Bradshaw ([EMAIL PROTECTED]): > On Wed, Oct 14, 1998 at 11:18:13AM +0200, Miquel van Smoorenburg wrote: > > In article <[EMAIL PROTECTED]>, > > Lee Bradshaw <[EMAIL PROTECTED]> wrote: > > >nis specific problems: > > > > > >When I run dhclient, /etc/resolv.conf is written with the new dns info, > > >but /etc/defaultdomain doesn't change. I guess the file doesn't need to > > >change, but the value returned by (nis)domainname isn't modified either. > > >I'm using the dhcp-beta_2.0b1pl6-0.1 and dhcp-client-beta_2.0b1pl6-0.1.
> I set the domainname to a garbage value, ran dhclient, and then expected > to see the updated nis domainname from dhcp. But on my system the > nis information doesn't appear to be updated by dhcp. Am I missing > something? Here is the dhcp server nis information again: > > option nis-domain "alantro.com"; > option nis-servers 192.168.50.1; > > Do I need to do anything on the client to enable dhclient to override a > previous value for the nis domain? theoretically this should work: a) put apropriate request / require lines in your dhclient.conf. dhclient only asks for dhcp-options it needs / you told it to ask. cat /var/db/dhclient.leases to see what options it got. b) You need to extend your /etc/dhclient-script. By default only the bare minimum of all those nice dhcp-options is used: IP adress(es), ip-alias(es), default route(s), netmask?, broadcast, DNS domain name, nameserver(s). Rainer -- KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB 78 1D B5 64 E0 BF 72 EB
pgpI6gof9pBlA.pgp
Description: PGP signature