From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0381bfcb7eaa86a4876663db6c2960be@plan9.bell-labs.com> Date: Mon, 5 Mar 2007 13:33:46 -0500 From: geoff@plan9.bell-labs.com To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] dns changes Topicbox-Message-UUID: 17a4a528-ead2-11e9-9d60-3106f5b1d025 I've pushed to sources changes to ndb/dns intended to improve the effectiveness of its caching. Thanks to Dave Presotto for locating the specific problems. I've also attempted to make dns's diagnostics in /sys/log/dns more specific, to pinpoint the client sending bad requests and to detail the errors in the requests. Some of the diagnostics are still somewhat cryptic; I plan to improve them as we get more experience with them. Some errors characteristic of MS Windows are detected and not logged to avoid filling the logs with complaints about systems that cannot be fixed (except by an OS upgrade). Seriously misformatted DNS requests now draw replies with error flags set, so clients at least get feedback that they are in error. dns processes now have their names (visible with ps -a) set to indicate what they are doing. The internal %R formatting code is now more robust against incomplete Req structures being printed. ndb(8) has been updated to reflect all this and had its formatting slightly altered to improve legibility.