Created
April 2, 2018 20:31
-
-
Save ark3/95ea11bec7f368d8e2a73a7e2f383f34 to your computer and use it in GitHub Desktop.
Results of `gethostbyaddr` calls
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
$ python3 | |
Python 3.6.4 (default, Mar 9 2018, 23:15:03) | |
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import socket | |
>>> socket.gethostbyaddr("18.72.0.100") | |
('w92-dns-1.mit.edu', ['100.0.72.18.in-addr.arpa'], ['18.72.0.100']) | |
>>> socket.gethostbyaddr("10.0.0.1") | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
socket.herror: [Errno 1] Unknown host | |
>>> | |
$ telepresence -m inject-tcp --run-shell | |
Starting proxy with method 'inject-tcp', which has the following limitations: Go programs, static binaries, suid programs, and custom DNS implementations are not supported. For a full list of method limitations see https://telepresence.io/reference/methods.html | |
Volumes are rooted at $TELEPRESENCE_ROOT. See https://telepresence.io/howto/volumes.html for details. | |
No traffic is being forwarded from the remote Deployment to your local machine. You can use the --expose option to specify which ports you want to forward. | |
@gke_datawireio_us-central1-a_telepresence-testing|bash-3.2$ python3 | |
Python 3.6.4 (default, Mar 9 2018, 23:15:03) | |
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import socket | |
>>> socket.gethostbyaddr("18.72.0.100") | |
('18.72.0.100', [], []) | |
>>> socket.gethostbyaddr("10.0.0.1") | |
('10.0.0.1', [], []) | |
>>> | |
@gke_datawireio_us-central1-a_telepresence-testing|bash-3.2$ exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment