Link to home
Start Free TrialLog in
Avatar of bryanlloydharris
bryanlloydharris

asked on

Telnet test for DNS

Hi,

I would like to test a DNS server the same way that I test HTTP, POP, and SMTP servers.  For the latter three, I telnet to the server over the proper port, type my request, and press [enter].

For example:

$ telnet treehouse 110
Escape character is '^]'.
+OK POP3 treehouse 2004.89 server ready
user bryanh
+OK User name accepted, password please
pass johngalt
+OK Mailbox open, 35226 messages
quit
+OK Sayonara
Connection closed by foreign host.

Can you tell me how to do this for DNS?  I have tried the following but it does not work(i.e. I don't know the commands) and I always have to type [control]-] to quit telnet:

telnet nameserver 53
Trying <ip address>...
Connected to ns.
Escape character is '^]'.
google.com

quit
^]
telnet>
^]
telnet> quit
Connection closed.

Any help is greatly appreciated!

Bryan
SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bryanlloydharris
bryanlloydharris

ASKER

I did the point split incorrectly, but it seems good enough for me.

Thanks!

Bryan