毎度忘れるのでメモ
dig
dig www.google.com @1.1.1.1
を実行
; <<>> DiG 9.16.1-Ubuntu <<>> www.google.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60699
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 178 IN A 142.250.207.4
;; Query time: 10 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Sat Feb 19 23:19:00 JST 2022
;; MSG SIZE rcvd: 59
nslookup
nslookup www.cloudflare.com 8.8.8.8
を実行
サーバー: dns.google
Address: 8.8.8.8
権限のない回答:
名前: www.cloudflare.com
Addresses: 2606:4700::6810:7b60
2606:4700::6810:7c60
104.16.123.96
104.16.124.96