https://github.com/bostrt/apr-lookup
DNS lookup with apr_sockaddr_info_get
https://github.com/bostrt/apr-lookup
Last synced: 9 months ago
JSON representation
DNS lookup with apr_sockaddr_info_get
- Host: GitHub
- URL: https://github.com/bostrt/apr-lookup
- Owner: bostrt
- License: mit
- Created: 2016-02-05T23:24:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T15:55:31.000Z (over 10 years ago)
- Last Synced: 2025-04-06T14:28:57.601Z (about 1 year ago)
- Language: C
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```
# yum install apr apr-util apr-devel gcc
# gcc lookup.c -o lookup $(apr-1-config --cflags --cppflags --includes --link-ld) -ggdb
# ./lookup
Usage: ./lookup host
# ./lookup google.com
google.com => 173.194.123.96
```