The FreeBSD Diary |
(TM) | Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link. |
installing nslint - debug your DNS
27 July 1998
|
see also dnswalk. As part of the continuing Getting local names to resolve problem, I decided to install nslint at the advice of a helper on on the FreeBSD Questions mailing list. Here's what I've done so far: |
26 July 1998
|
I checked my 2.2.5 CDs for nslint but it wasn't there. So I went to ftp.freebsd.org and checked out the cd
/pub/FreeBSD/ports/net/ and looked for nslint. I found a directory, but that's not
what I need. I wanted a .tar file. I remembered it was somewhere else. I
went back up the tree and found distfiles. That's where I found nslint-2.0a5.tar.Z.
I retrieved it from the FTP server it and then continued as below.
|
27 July 1998
|
A reply on the mailing list
suggests I try a package instead. So I grabbed nslint-2.0a4.tgz from ftp.freebsd.org/pub/FreeBSD/packages/net.
Then I do the following:
Well, that doesn't make *any* sense to me. Ahh well. Out of desperation, I type nslint. I get: bash: nslint: is a directory. Hmmm. Where is that directory? I ask on Undernet #freebsd. Well, I asked, but I found it anyways. It was in /usr/local/bin. I delete that directory and try the package install again. Now I get:
Bummer. How do unrecord that install? Ahhh, I'll check the pkg_add man pages. There I found the following bit of information:
You beauty! So I ran pkg_delete nslint-2.0a4. And received the following messages:
But that's OK because it never really installed. Then I ran the original command again: pkg_add nslint-2.0a4.tgz This time, it worked. I entered the command nslint:
Well, this *is* progress! My next step will be to figure out how to run nslint and use it to debug my DNS, which seems to be running pretty good after my latest round of help. |
1 September 1998
|
Today I installed nslint from the 2.2.7 CDs. I did a make, then a make install.
It ran first time. This is an example of why I like the ports. They
almost-without-fail work first-time-every-time. The following command will check my name server files:
It did detect a couple of problems, and I fixed them up straight away. If you get any error messages, try the manual pages for interpretation details (man nslint). |
2 September 1998
|
Today I received a reply to a message I posted to nslint@ee.lbl.gov back on 27 July 1998. It said run ./configure which will create a makefile. I vaguely recall receiving this advice from another source and definitely remember running it. |