home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!lambda.msfc.nasa.gov!avdms8!jpc
- From: jpc@avdms8.msfc.nasa.gov (J. Porter Clark)
- Subject: Re: DNS & Resolver. Things Sun should do.
- Message-ID: <jpc.712372686@avdms8.msfc.nasa.gov>
- Keywords: DNS
- Sender: news@lambda.msfc.nasa.gov (Newsmaster)
- Nntp-Posting-Host: avdms8.msfc.nasa.gov
- Organization: NASA/MSFC
- References: <yvent.711983630@theseas> <1992Jul24.144817.23307@aio.jsc.nasa.gov> <hanson.711995288@pogo> <jpc.712190285@avdms8.msfc.nasa.gov> <1992Jul27.130038.27277@ccu.umanitoba.ca>
- Date: 29 Jul 92 01:18:06 GMT
- Lines: 39
-
- mills@ccu.umanitoba.ca (Gary Mills) writes:
-
- >In <jpc.712190285@avdms8.msfc.nasa.gov> jpc@avdms8.msfc.nasa.gov (J. Porter Clark) writes:
-
- >>Does this mean that the bug wherein NIS remembers that a DNS lookup
- >>failed will be fixed? I'm referring to a longstanding problem in which
- >>an initial failure of the resolver (perhaps because the response from
- >>the nameserver arrived too late) will cause the lookup to fail from
- >>that point on.
-
- >I don't see this problem. After I add a new host to the DNS, I can start
- >doing ypmatch on that host, and in five or ten minutes it will appear.
- >I assumed this was due to caching by ypserv, which should be a good thing
- >because it should reduce traffic between NIS and DNS.
-
- Sure. If you add a new record to DNS relatively close (in terms of
- delay) to the host, you will get a ypmatch. No problem there. But
- let's say somebody out in some part of the net quite distant to you
- adds a new host to his DNS over there. Now try to ftp to it or ping
- it. Maybe you folks out there have some sort of special relationship
- with the Internet somehow, but that DNS lookup is going to take a
- little while to ripple through the DNS hierarchy from where I am.
- Chances are very good that the first lookup is going to fail for me.
- If I wait a few seconds after the first lookup and try again with DiG
- or nslookup, it will usually work. But the problem is, NIS has already
- learned from its earlier failure and will never return an IP address
- for that hostname until ypserv and ypbind have been restarted. cd
- /var/yp and make will *not* work, either.
-
- This, to me, is a Bug. I have seen a followup and a reply in which
- this was deemed to be desirable or otherwise unavoidable behavior.
- How?
-
- I think it's dandy that ypserv caches the data. But if it gets a
- request for a hostname mapping that's not in its cache, it should go to
- DNS. Every time.
- --
- J. Porter Clark jpc@avdms8.msfc.nasa.gov or jpc@gaia.msfc.nasa.gov
- NASA/MSFC Communications Systems Branch
-