Last active
July 30, 2017 18:18
-
-
Save erincandescent/adceb50931c2554934b81be8298aa53b 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
>>> for x in socket.getaddrinfo("rei.local", None, socket.AF_INET6): | |
... print(x) | |
... | |
(10, 1, 6, '', ('fe80::152:821e:3b05:9293', 0, 0, 0)) | |
(10, 2, 17, '', ('fe80::152:821e:3b05:9293', 0, 0, 0)) | |
(10, 3, 0, '', ('fe80::152:821e:3b05:9293', 0, 0, 0)) | |
>>> for x in socket.getaddrinfo("rei.local", None, socket.AF_UNSPEC): | |
... print(x) | |
... | |
(10, 1, 6, '', ('fe80::152:821e:3b05:9293%eth0', 0, 0, 2)) | |
(10, 2, 17, '', ('fe80::152:821e:3b05:9293%eth0', 0, 0, 2)) | |
(10, 3, 0, '', ('fe80::152:821e:3b05:9293%eth0', 0, 0, 2)) | |
(2, 1, 6, '', ('192.168.1.2', 0)) | |
(2, 2, 17, '', ('192.168.1.2', 0)) | |
(2, 3, 0, '', ('192.168.1.2', 0)) | |
>>> | |
root@asuka:/home/HOME/oshepherd/nss-mdns# telnet -6 rei.local | |
Trying fe80::152:821e:3b05:9293... | |
telnet: Unable to connect to remote host: Invalid argument | |
root@asuka:/home/HOME/oshepherd/nss-mdns# telnet rei.local | |
Trying fe80::152:821e:3b05:9293%eth0... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment