Things look quiet here. But I've been doing a lot of blogging at
dan.langille.org because I prefer WordPress now.
Not all my posts there are FreeBSD related.
I am in the midst of migrating The FreeBSD Diary over to WordPress
(and you can read about that here).
Once the migration is completed, I'll move the FreeBSD posts into the
new FreeBSD Diary website.
If you are running a name server, chances are it's bind (Berkeley
Internet Name Domain) which implements the Domain Name System (DNS) protocols.
Normally, the executable is called named. For more information on bind,
see the bind home page at http://www.isc.org/products/BIND/.
I
found this little gem whilst idling in undernet's #freebsd IRC channel. It's a quick
way of finding out what version of bind you are running without having to restart
bind.
Also, with recent versions of bind, the following is possible:
$ named -v
named 8.2.2-P5-NOESW Mon Jan 24 13:43:58 EST 2000
danh@noc.wzrd.com:/usr/obj/usr/src/usr.sbin/named
[Ed. note: sometimes named is not in the path, such as on my box, and you have to
specify /usr/local/sbin/named.]
If you wish to hide what version is given in reply, just edit /usr/src/contrib/bind/Version
and recompile from /usr/src/usr.sbin/named. Here is an example of what
you can do:
This will disallow any query on version except from local host.
Listing the zone files20 May 2000
Alex Root wrote in to say this:
I dont know if this has anything to do with "bind" itself. but when you type
nslookup then type: ls -d domain.com it will show you the zone file for that domain.
I'm not sure but I 'think' this only works if the domain is hosted on your
nameserver. If it's not, you can type : server ns.of-domain.com then ls -d
domain.com and it should show you the zone files. Try it out