How to call DNS from command line / resolve domain name?

K

Kevin McNeal

I order to get the current IP for a given domain name I would like to
enter a command from command prompt (not to use a GUI program).

How can I get the IP for a domain from command line? I am searching something like

getipfor mydyndom.dyndns.org

Kevin
 
B

Brian A.

Kevin McNeal said:
I order to get the current IP for a given domain name I would like to
enter a command from command prompt (not to use a GUI program).

How can I get the IP for a domain from command line? I am searching
something like

getipfor mydyndom.dyndns.org

Kevin

Try:
ping mydyndom.dyndns.org

--

Brian A. Sesko
Conflicts start where information lacks.
http://basconotw.mvps.org/

Suggested posting do's/don'ts: http://members.shaw.ca/dts-l/goodpost.htm
How to ask a question: http://support.microsoft.com/kb/555375
 
F

Frank Stutzman

In comp.os.ms-windows.networking.misc Kevin McNeal said:
I order to get the current IP for a given domain name I would like to
enter a command from command prompt (not to use a GUI program).

How can I get the IP for a domain from command line? I am searching something like

getipfor mydyndom.dyndns.org

Is there some reason
nslookup mydyndom.dyndns.org

doesn't work for you?
 
P

Philip Herlihy

Kevin said:
I order to get the current IP for a given domain name I would like to
enter a command from command prompt (not to use a GUI program).

How can I get the IP for a domain from command line? I am searching something like

getipfor mydyndom.dyndns.org

Kevin


If you ping the name it'll show you the IP address at the same time.
Alternatively, you can use the nslookup command.

Phil, London
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top