Boa noite, qual a diferença em usar o nslookup e dig ? Ambos me trazem o ip da página e do servidor.
NSLOOKUP
(base) USER@USER:~$ nslookup alura.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: alura.com
Address: 216.58.163.145
DIG
(base) USER@USER:~$ dig alura.com
; <<>> DiG 9.11.3-1ubuntu1.18-Ubuntu <<>> alura.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40738
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;alura.com. IN A
;; ANSWER SECTION:
alura.com. 7042 IN A 216.58.163.145
;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Thu Apr 27 22:08:47 -03 2023
;; MSG SIZE rcvd: 54