lookup hostname from ip address - internal network

Posted on 2009-02-11
Last Modified: 2013-12-06
How do I lookup the hostname from an IP address on our network???
Question by:TokenHash
    LVL 29

    Accepted Solution

    if you have internal dns server install then

    nslookup Ip address
    it will show you the hostname
    LVL 31

    Assisted Solution

    by:Toni Uranjek
    ... only if you configure Reverse lookup zone for your subnet and add appropriate PTR record.
    LVL 21

    Expert Comment

    ping -a {ipaddress}
    LVL 21

    Expert Comment

    Command Line.

    for /f "tokens=2 delims=. " %a in ('ping -n 1 -a {ipaddress} ^| find "Pinging"') do echo %a

    In a batch file pass in the ipaddress.
    for /f "tokens=2 delims=. " %%a in ('ping -n 1 -a %1 ^| find "Pinging"') do echo IP Address - %1 is host - %%a

    Open in new window

    LVL 23

    Assisted Solution

    by:Maciej S
    If you have bind installed:

    host ip.address
    dig -x ip.address

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
    A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now