telnetting/netcatting into a DNS server?

Andrew P. infofarmer at gmail.com
Tue Oct 25 10:55:33 PDT 2005


On 10/25/05, Andrew P. <infofarmer at gmail.com> wrote:
> On 10/25/05, Mohan Singh <mohansingh68 at gmail.com> 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
>
> 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.


More information about the freebsd-questions mailing list