Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
rsolve ip address to hostname
Results 1 to 2 of 2

Thread: rsolve ip address to hostname

  1. #1

    rsolve ip address to hostname

    With ping -a <ip address> we can see ip address and the name of the machine. But no name shows up when I use same switch -a in Linux fedora core 2.

    Basically what am I trying to see is the hostname assigned by corporate dhcp server to my linux box. linux box is in corporate network.

    What command can I use from my linux box to acomplish it?

    Thanks

  2. #2
    Have you tried 'hostname'?

    just type 'hostname' and it should give you the host name.

    Other things to try: if you want to access the hostname from the dns, use nslookup or dig.

Similar Threads

  1. hostname to IP
    By datamike in forum Linux - General Topics
    Replies: 9
    Last Post: 02-15-2013, 12:21 PM
  2. How to Achive IP address through MAC(Ethernet) address
    By krishnacins in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 10-03-2005, 02:17 PM
  3. DHCP and Hostname help
    By mcdougrs in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-07-2002, 10:00 AM
  4. hostname of a pc
    By kemu in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 10-02-2002, 11:56 PM
  5. Hostname
    By Schotty in forum Linux - Hardware, Networking & Security
    Replies: 10
    Last Post: 12-05-2001, 02:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •