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

  • Thread starter Thread starter Kevin McNeal
  • Start date Start date
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
 
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
 
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?
 
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
 
Back
Top