Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x@raspberrypi:~ $ dig google.com
- ; <<>> DiG 9.16.48-Debian <<>> google.com
- ;; global options: +cmd
- ;; Got answer:
- ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12758
- ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
- ;; OPT PSEUDOSECTION:
- ; EDNS: version: 0, flags:; udp: 1232
- ;; QUESTION SECTION:
- ;google.com. IN A
- ;; ANSWER SECTION:
- google.com. 264 IN A 142.250.184.206
- ;; Query time: 20 msec
- ;; SERVER: 1.1.1.1#53(1.1.1.1)
- ;; WHEN: Tue Mar 05 18:54:16 CET 2024
- ;; MSG SIZE rcvd: 55
- x@raspberrypi:~ $ nslookup google.com
- Server: 1.1.1.1
- Address: 1.1.1.1#53
- Non-authoritative answer:
- Name: google.com
- Address: 142.250.185.174
- Name: google.com
- Address: 2a00:1450:4001:811::200e
- x@raspberrypi:~ $ ping google.com
- ping: google.com: Systemfehler
- x@raspberrypi:~ $ ping 142.250.185.174
- PING 142.250.185.174 (142.250.185.174) 56(84) bytes of data.
- 64 bytes from 142.250.185.174: icmp_seq=1 ttl=60 time=15.0 ms
- 64 bytes from 142.250.185.174: icmp_seq=2 ttl=60 time=14.2 ms
- 64 bytes from 142.250.185.174: icmp_seq=3 ttl=60 time=14.1 ms
- ^C
- --- 142.250.185.174 ping statistics ---
- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
- rtt min/avg/max/mdev = 14.115/14.435/15.010/0.407 ms
- x@raspberrypi:~ $ cat /etc/resolv.conf
- # Generated by resolvconf
- nameserver 1.1.1.1
- x@raspberrypi:~ $ curl google.com
- curl: (6) Could not resolve host: google.com
- x@raspberrypi:~ $ cat /etc/nsswitch.conf
- # /etc/nsswitch.conf
- #
- # Example configuration of GNU Name Service Switch functionality.
- # If you have the `glibc-doc-reference' and `info' packages installed, try:
- # `info libc "Name Service Switch"' for information about this file.
- passwd: files
- group: files
- shadow: files
- gshadow: files
- hosts: dns files myhostname
- networks: files
- protocols: db files
- services: db files
- ethers: db files
- rpc: db files
- netgroup: nis
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement