Created
February 9, 2020 18:22
-
-
Save Fsero/dc1606c0034d052469bad5a27aacd021 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ # apk update | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz | |
v3.11.3-56-g2361a12f31 [http://dl-cdn.alpinelinux.org/alpine/v3.11/main] | |
v3.11.3-33-gadd23db31f [http://dl-cdn.alpinelinux.org/alpine/v3.11/community] | |
OK: 11262 distinct packages available | |
/ # apk search nslookup | |
bind-tools-9.14.8-r5 | |
/ # apk add bind-tools | |
(1/16) Installing fstrm (0.6.0-r1) | |
(2/16) Installing libgcc (9.2.0-r3) | |
(3/16) Installing krb5-conf (1.0-r1) | |
(4/16) Installing libcom_err (1.45.5-r0) | |
(5/16) Installing keyutils-libs (1.6.1-r0) | |
(6/16) Installing libverto (0.3.1-r1) | |
(7/16) Installing krb5-libs (1.17.1-r0) | |
(8/16) Installing json-c (0.13.1-r0) | |
(9/16) Installing libstdc++ (9.2.0-r3) | |
(10/16) Installing libprotobuf (3.11.2-r0) | |
(11/16) Installing libprotoc (3.11.2-r0) | |
(12/16) Installing protobuf-c (1.3.2-r3) | |
(13/16) Installing xz-libs (5.2.4-r0) | |
(14/16) Installing libxml2 (2.9.10-r1) | |
(15/16) Installing bind-libs (9.14.8-r5) | |
(16/16) Installing bind-tools (9.14.8-r5) | |
Executing busybox-1.31.1-r9.trigger | |
OK: 18 MiB in 30 packages | |
/ # host www.google.com | |
www.google.com has address 172.217.17.4 | |
Host www.google.com not found: 4(NOTIMP) | |
Host www.google.com not found: 4(NOTIMP) | |
/ # | |
/ # host www.google.com | |
www.google.com has address 172.217.17.4 | |
Host www.google.com not found: 4(NOTIMP) | |
Host www.google.com not found: 4(NOTIMP) | |
/ # nslookup www.google.com | |
Server: 10.96.0.10 | |
Address: 10.96.0.10#53 | |
Name: www.google.com | |
Address: 172.217.17.4 | |
** server can't find www.google.com: NOTIMP | |
/ # nslookup google.com | |
Server: 10.96.0.10 | |
Address: 10.96.0.10#53 | |
Non-authoritative answer: | |
Name: google.com | |
Address: 216.58.211.46 | |
** server can't find google.com: NOTIMP | |
/ # ping google.com | |
PING google.com (216.58.211.46): 56 data bytes | |
64 bytes from 216.58.211.46: seq=0 ttl=61 time=1006.405 ms | |
64 bytes from 216.58.211.46: seq=1 ttl=61 time=639.638 ms | |
^C | |
--- google.com ping statistics --- | |
2 packets transmitted, 2 packets received, 0% packet loss | |
round-trip min/avg/max = 639.638/823.021/1006.405 ms | |
/ # ping www.google.com | |
PING www.google.com (172.217.17.4): 56 data bytes | |
64 bytes from 172.217.17.4: seq=0 ttl=61 time=48.883 ms | |
^C | |
--- www.google.com ping statistics --- | |
1 packets transmitted, 1 packets received, 0% packet loss | |
round-trip min/avg/max = 48.883/48.883/48.883 ms | |
/ # cat /etc/resolv.conf | |
nameserver 10.96.0.10 | |
search default.svc.cluster.local svc.cluster.local cluster.local | |
options ndots:5 | |
/ # nano /etc/resolv.conf | |
sh: nano: not found | |
/ # apk add vim | |
(1/6) Installing xxd (8.2.0-r0) | |
(2/6) Installing lua5.3-libs (5.3.5-r2) | |
(3/6) Installing ncurses-terminfo-base (6.1_p20191130-r0) | |
(4/6) Installing ncurses-terminfo (6.1_p20191130-r0) | |
(5/6) Installing ncurses-libs (6.1_p20191130-r0) | |
(6/6) Installing vim (8.2.0-r0) | |
Executing busybox-1.31.1-r9.trigger | |
OK: 54 MiB in 36 packages | |
/ # vim /etc/resolv.conf | |
/ # ping www.google.com | |
PING www.google.com (172.217.17.4): 56 data bytes | |
64 bytes from 172.217.17.4: seq=1 ttl=61 time=45.910 ms | |
^C | |
--- www.google.com ping statistics --- | |
2 packets transmitted, 1 packets received, 50% packet loss | |
round-trip min/avg/max = 45.910/45.910/45.910 ms | |
/ # ping www.google.com | |
^C | |
/ # nslookup google.com | |
Server: 10.96.0.10 | |
Address: 10.96.0.10#53 | |
Non-authoritative answer: | |
Name: google.com | |
Address: 216.58.211.46 | |
** server can't find google.com: NOTIMP | |
/ # host www.google.com | |
www.google.com has address 172.217.17.4 | |
Host www.google.com not found: 4(NOTIMP) | |
Host www.google.com not found: 4(NOTIMP) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment