Informações do host da linha de comando

0

Qual é o equivalente de host hostname de Linux no Windows?

Para as pessoas que me apontam como alterar o nome do host no Windows, não se trata de alterar o nome do host do computador, o que eu quis dizer foi:

$ host google.com
google.com has address 74.125.236.72
google.com has address 74.125.236.78
google.com has address 74.125.236.73
google.com has address 74.125.236.71
google.com has address 74.125.236.65
google.com has address 74.125.236.69
google.com has address 74.125.236.66
google.com has address 74.125.236.64
google.com has address 74.125.236.67
google.com has address 74.125.236.68
google.com has address 74.125.236.70
google.com has IPv6 address 2404:6800:4007:801::1004
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.

Mais sobre este comando Linux em aqui .

    
por zurfyx 04.06.2015 / 17:48

2 respostas

2

O comando nslookup deve fornecer algumas informações equivalentes.

nslookup www.google.com
Server:  ns.myorganization.lan
Address:  192.168.0.1

Non-authoritative answer:
Name:    www.google.com
Addresses:  2001:4860:400b:c01::6a
          204.239.67.98
          204.239.67.102
          204.239.67.106
          204.239.67.108
          204.239.67.109
          204.239.67.113
          204.239.67.117
          204.239.67.121
          204.239.67.123
          204.239.67.79
          204.239.67.83
          204.239.67.87
          204.239.67.91
          204.239.67.93
          204.239.67.94
    
por 04.06.2015 / 18:19
-1

link

Comando do Host para Windows.

Ajuda quando alguns precisam saber o nome do host de um IP.

    
por 08.10.2017 / 22:23