Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 306 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 306 Bytes

dns-aaaa-no-more

The sole purpose of this project is to override the getaddrinfo() system function that takes care of DNS resolution by enforcing AI_FAMILY.AF_INET flag to get rid off AAAA (IPv6) DNS queries.

build

make

usage

LD_PRELOAD=/path/to/getaddrinfo.so /path/to/myprogram