On 10/25/05, Andrew P. <[EMAIL PROTECTED]> wrote:
> On 10/25/05, Mohan Singh <[EMAIL PROTECTED]> 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!
> >    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.
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> Why don't you read the netcat manpage for starters?
>

Oh, I'm mighty sorry. I was sure the exact example was
there, but I reread now - and there is none.

I will post a link here as soon as I find it.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to