Automatically get nameservers

Peter Nyamukusa petern at africaonline.co.zw
Tue Jan 9 17:29:47 UTC 2007


On Tuesday 09 January 2007 19:10, David Kelly wrote:
> On Tue, Jan 09, 2007 at 05:23:07PM +0100, Oliver Fromme wrote:
> > David Kelly wrote:
> >  > But for the Windows machines to "get the nameservers automatically"
> >  > one has to set up DHCP somewhere. On the FreeBSD machine. Or on a SOHO
> >  > router. Somewhere.
> >
> > No, the FreeBSD machine (which acts as a PPPoE client)
> > already receives the addresses of the name servers via
> > the PPP protocol.  There's really no need for DHCP.
> >
> > I have exactly that setup at home, and I definitely do
> > not use DHCP.
>
> Yes, the FreeBSD machine can get *its* nameserver addresses from the
> upstream connection via PPPoE. But the original poster asked how could
> his Windows machines connected thru the FreeBSD machine *automatically*
> get nameservice.
>
> Some have suggested configuring the FreeBSD machine as a caching
> nameserver. That is an option, but the Windows machines still do not
> *automatically* know who to use for nameservice. Also its a bit harder

I agree here for any device to automatically receive DNS servers then DHCP has 
to be running and the device has to act as a DHCP client otherwise you would 
have to specify them statically. Unless we mis-understood the question

Regards

-- 
Peter Nyamukusa
Systems Administrator
Africa Online Zimbabwe
Tel:    +263-4-250890
Fax:    +263-4-702203
E-mail: petern at africaonlineco.zw
AIM:   petenya
> for the caching nameserver to be updated when/if PPPoE changes the
> nameservice addresses. This is something SOHO routers do fairly easily,
> altho most simply pass the same addresses they are given. Some will act
> as a nameserver, possibly caching.
>
> Once again I repeat, for the Windows machines to automatically get
> nameserver addresses someone has to be running a DHCP server. Otherwise
> someone has to type the addresses into a dialog box on each Windows
> machine.




More information about the freebsd-questions mailing list