Re: DNS vs. NIS

Steven P. Crain (scrain@shore.net)
Sat, 2 Aug 1997 10:11:26 -0400 (EDT)

On Fri, 1 Aug 1997, Jim Tinlin wrote:

> I believe one of my portmasters is running in DNS mode and the other
> is in NIS mode (I look at the PMWHO output and one shows IP numbers,
> the other show names). How do I change from one to the
> other...looking at the docs I was a little confused and I tried a few
> settings which didn't seem to make a difference...

'show global'
look for the line 'Name Service: DNS'
look for the line 'Name Server: ....' and make sure the IP is correct.

You may find they are both correct.
The portmasters don't waste time waiting for DNS. If it doesn't come back
fast enough they will display the IP address instead. That is why you
sometimes get names, and sometimes IPs. Its *not* a bug, its a feature,
really. It would be too slow for real-time use otherwise. DNS or NIS can
take a long time when you have 30+ IPs to lookup.

----------------------------------------------------------------------------
Steven P. Crain scrain@shore.net http://www.shore.net/~scrain
Shore.Net Unix Development and Administration
An ISP with Excellence in the Greater Boston Area.