Hey David,
On Sep 25, 2010, at 11:42 AM, David Walker wrote:
> First off a small oddity (it could be pebkac).
> It appears my named.conf is okay and so are my master files.
> If I do a ...
> nslookup example.com 127.0.0.1
> ... I get a result returned that looks as per normal wth the IP
> address I set in the master file.
> If I do interactive mode and try likewise, nslookup sits there and does
nothing.
> I've tried appending a dot, using localhost instead of 127.0.0.1 and
> various combinations thereof.
> Am I missing something?
You should have a look at dig(1).
i.e.
dig @127.0.0.1 example.com A
Which will query your local service for the A record
of example.com. Replace 'A' with 'any' to retrieve
all RRs, typically A, SOA, NS and MX.
nslookup shouldn't be the tool of choice when debugging
DNS issues.
Cheers
~ollie