Date: Tue, 25 Oct 2005 06:33:15 -0700 From: Mohan Singh <mohansingh68@gmail.com> To: freebsd-questions@freebsd.org Subject: telnetting/netcatting into a DNS server? Message-ID: <48d803190510250633k93e3934n7f1dd2bca493e21e@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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! SSH-1.99-OpenSSH_4.2 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48d803190510250633k93e3934n7f1dd2bca493e21e>