Comments (2)
Python 3.10.11 (main, Apr 7 2023, 07:24:53) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket as s
>>> s.gethostbyaddr("1.1.1.1")
('one.one.one.one', ['1.1.1.1.in-addr.arpa'], ['1.1.1.1'])
>>> s.gethostbyaddr("1.1.1.2")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
socket.herror: [Errno 1] Unknown host
>>> s.gethostbyaddr("")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: wildcard resolved to multiple address
>>> s.gethostbyaddr("0.0.0.0")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
socket.herror: [Errno 1] Unknown host
So, what does h_errno 0
even mean?
from nsupdate.info.
When running on the web server:
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
>>> import socket
>>> socket.gethostbyaddr("37.139.53.13")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
socket.herror: [Errno 0] Resolver Error 0 (no error)
>>>
nsupdate@web:~$ host 37.139.53.13
Host 13.53.139.37.in-addr.arpa not found: 2(SERVFAIL)
from nsupdate.info.
Related Issues (20)
- CSRF verification failure HOT 3
- Google OAuth Login is failing HOT 3
- Login or Registration does not work. HOT 8
- google and other Oauth not allowing login HOT 1
- Canβt login with google-oauth2 anymore HOT 1
- Dns
- "bad IP received" with Speedport Smart 4 HOT 3
- Login doesn't work HOT 2
- Update dependencies (django 2.2 > 4.2) HOT 9
- resolver.query deprecated
- rev_lookup(1.1.1.1) fails HOT 3
- readme coverage badge points to coveralls HOT 1
- check proxy ip processing
- django admin layout defect HOT 3
- crash due to nameserver_ip key missing in cleaned_data HOT 2
- .readthedocs.yaml is required soon HOT 1
- django: unique_together / index_together is deprecated
- migrate setup.* to pyproject.toml
- Buggy config for ddclient >=3.11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsupdate.info.