Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2005 21:50:25 +0400
From:      "Andrew P." <infofarmer@gmail.com>
To:        Mohan Singh <mohansingh68@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: telnetting/netcatting into a DNS server?
Message-ID:  <cb5206420510251050g2cd5afefw985650fbeb11591a@mail.gmail.com>
In-Reply-To: <48d803190510250633k93e3934n7f1dd2bca493e21e@mail.gmail.com>
References:  <48d803190510250633k93e3934n7f1dd2bca493e21e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/25/05, Mohan Singh <mohansingh68@gmail.com> wrote:
> Whenever I need to test a mail/ssh/web server, I usually just telnet or n=
c
> 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 "freebsd-questions-unsubscribe@freebsd.o=
rg"
>

Why don't you read the netcat manpage for starters?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420510251050g2cd5afefw985650fbeb11591a>