Comments (1)
This library is essentially a Rust wrapper for getnameinfo and gethostinfo. These functions are usually defined in the libc for your platform (like gnulibc, microsoft's libc, a BSD libc, etc). So you need to check the documentation for your platform's libc to get the exact behaviour around timing. AFAIK there is no guarantee on how long these functions can take.
If you're looking up reverse dns for something like logging, it might be worth having another thread that can do that logging and the respective reverse dns lookups.
Feel free to ask more questions, but I'm going to close this issue since it's upto the libc library to determine the delay.
from dns-lookup.
Related Issues (19)
- Add/Verify Windows/OSX support HOT 11
- Expand API HOT 2
- push 0.2.1 to github please HOT 2
- NXDOMAIN vs SERVFAIL HOT 3
- Add gethostname()? HOT 2
- please make LookupErrorKind public HOT 4
- 1.0.2 broke freebsd HOT 8
- Remove dependency on libresolv for MacOS and IOS HOT 3
- Update to 1.0.4 fails with ' error: expected an item keyword' HOT 3
- Type safety, family HOT 2
- dns-lookup are failed to compile on Windows HOT 6
- Specific dns server and retrieve an array of buffer
- Arm compatibility issues HOT 4
- Alpine issues with dns-lookup 2 HOT 5
- Implement `FusedIterator` for `AddrInfoIter`. HOT 3
- `failed to lookup address information: nodename nor servname provided, or not known` HOT 2
- Why is the IP address obtained not a private address? HOT 1
- host.docker.internal
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 dns-lookup.