SunOS 5.7 Generic_106541-08 sun4m sparc SUNW,SPARCstation-20
DNS server: BIND-8.2.5-p5
hosts: files nis dns
Today, www.caiso.com keeps changing their IP address. But
whenI did "ypcat www.caiso.com hosts" and "nslookup www.caiso.com",
the result (IP address) mismatch.
yinhe# ypmatch www.caiso.com hosts
yinhe# nslookup www.caiso.com
BTW, I already flushed the nscd by doing:
If you have a chance, you can do the same commands on you Sun system
(do it several times), you will find same problem.
Could some explain me why?
How does "ypmatch xxx hosts" work? It uses DNS? If yes, why they mismatch?