Sorting list of DC addresses by closest first

Richard Sharpe rsharpe at richardsharpe.com
Wed Apr 21 15:25:32 GMT 2004


On Wed, 21 Apr 2004, Christopher R. Hertel wrote:

> On Tue, Apr 20, 2004 at 11:05:13PM -0700, Richard Sharpe wrote:
> :
> > Hmmm, nmblookup on sasafras#1c returns the following:
> > 
> > Got a positive name query response from 172.17.132.16 ( 172.17.132.16 
> > 172.17.1.113 172.17.65.15 172.17.1.50 172.17.3.129 )
> > 172.17.132.16 sasafras<1c>
> > 172.17.1.113 sasafras<1c>
> > 172.17.65.15 sasafras<1c>
> > 172.17.1.50 sasafras<1c>
> > 172.17.3.129 sasafras<1c>
> > 
> > The funny thing is that 127.17.132.16, which is not the PDC, just a BDC, 
> > is closest to me.
> > 
> > This seems to be contrary to what you said.
> 
> Odd.
> 
> I can look up the doco that says that the PDC should be first.  I was 
> pretty sure we followed Microsoft's lead.
> 
> There's not much info in the message above, however.  What was the command 
> line?  I assume that 172.17.132.16 is the NBNS.

nmblookup -R -A 172.17.132.16 -S sasafras#1c

Yes, 172.17.132.16 is the local NBNS.

Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list