Re: script or other suggestion



On 23/11/2007, chloe K <chloekcy2000@xxxxxxxx> wrote:
this is very fast

how come sometimes I get the hostname, most of the time it can't

how can I have hostname to print it out?


Host 192.168.63.245 appears to be up.
Host 192.168.63.246 appears to be up.
Host 192.168.63.247 appears to be up.
Host 192.168.63.248 appears to be up.
Host zzz.com (192.168.63.249) appears to be up.
Host 192.168.63.250 appears to be up.
Host 192.168.63.251 appears to be up.

Thank you

Jim Canfield <jcanfield@xxxxxxxxxxx> wrote: or...just use nmap to ping a range.

EX: nmap -sP 192.168.1.1-254

If the host is not defined in dns, you won't get a translation of the
ip address to hostname.

Just compare the output of these commands:
'host 192.168.63.247'
'host 192.168.63.249'

Kind regards,

Herta

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: hostnames and interfaces
    ... Apache documentation on doing virtual hosts and maybe do some ... A fully Qualified Host Name consists of two main parts. ... During installation, when it asks for hostname, it wants a Fully ... service what DNS server will be providing DNS service for that domain. ...
    (freebsd-questions)
  • Re: /bin/hostname
    ... Find a real news server. ... in /etc/hosts that maps the host and the FQDN to the static IP ... Linux distributions are supposed to follow Linux Standard Base standards, ... hostname -- show or set the system's host name ...
    (comp.os.linux.networking)
  • RE: apache not starting: FreeBSd 5.4
    ... Assigning a Host name to your FBSD system. ... statement hostname= to /etc/rc.conf. ... registered domain name on the public Internet (unless of course it's ...
    (freebsd-questions)
  • Re: mail confusion
    ... On Sun, 2005-10-30 at 12:06 -0500, Derek Martin wrote: ... > - change the hostname of your machine to something in a real domain ... This host has a dynamic IP. ... Evolution is configured to use sendmail on this ...
    (Fedora)
  • Re: /bin/hostname
    ... internet server with a static IP address, and there needs to be a line ... in /etc/hosts that maps the host and the FQDN to the static IP ... Linux distributions are supposed to follow Linux Standard Base standards, ... hostname -- show or set the system's host name ...
    (comp.os.linux.networking)