telnetting/netcatting into a DNS server?
igorr at speechpro.com
Tue Oct 25 06:38:19 PDT 2005
Mohan Singh wrote:
>Whenever I need to test a mail/ssh/web server, I usually just telnet or nc
>into the appropriate port, i.e.:
> $ echo "GET / " |nc -v yahoo.com 80
> $ nc -v localhost 22
> Connection to localhost 22 port [tcp/ssh] succeeded!
>How would I connect to a nameserver and talk to it so I can know it is
>working? I get as far as connecting to the port, but I don't know how to
>make it send back anything meaningful.
if you wish "know" your nameserver works, then
nslookup - your.server.ip
then try resolve some hostname/ip
host _name_to_resolve_ your.server.ip
More information about the freebsd-questions