You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an example of code that fails but could give more helpful responses. query('8.8.8.8', 'PTR')
This on the other hand works. query('8.8.8.8.in-addr.arpa.','PTR')
If a user is new to the using the library and a response returns no output. It could recommend trying resolvehostbyaddr().
Alternatively it could recommend flipping the ip string and adding .in-addr.arpa before running a query. ip=ip[::-1]+'.in-addr.arpa.'
I was wondering what you thought about adding this to help beginners with using your library?
The text was updated successfully, but these errors were encountered:
As an example of code that fails but could give more helpful responses.
query('8.8.8.8', 'PTR')
This on the other hand works.
query('8.8.8.8.in-addr.arpa.','PTR')
If a user is new to the using the library and a response returns no output. It could recommend trying resolvehostbyaddr().
Alternatively it could recommend flipping the ip string and adding .in-addr.arpa before running a query.
ip=ip[::-1]+'.in-addr.arpa.'
I was wondering what you thought about adding this to help beginners with using your library?
The text was updated successfully, but these errors were encountered: