On 25/09/2010, R0me0 *** <[email protected]> wrote:
> If I do interactive mode and try likewise, nslookup sits there and does
> nothing.If I do interactive mode and try likewise, nslookup sits there and
> does nothing.
>
> try it
>
> #nslookup
>> server 127.0.0.1
>> example.com

Thanks for that.

Perhaps I'm understanding the man page incorrectly - nslookup(1):
INTERACTIVE COMMANDS
       host [server]
           Look up information for host using the current default server or
           using server, if specified.

I've tried it with some internet machines and can't get it to work:
nslookup
> on.net ns1.on.net
;; connection timed out; no servers could be reached

# nslookup
> server ns1.on.net
Default server: ns1.on.net
Address: 203.16.213.172#53
Default server: ns1.on.net
Address: 2001:44b8:f020:ff00::80#53
> on.net
Server:         ns1.on.net
Address:        203.16.213.172#53

Name:   on.net
Address: 150.101.140.197

> by default, nslookup assume the first nameserver on resolv.conf
>
> Regards

Now I need to figure out everything else. :]

I forgot to mention earlier, this is 4.7 GENERIC#558 i386 with BIND 9.4.2-P2

Best wishes.

Reply via email to