[dns-operations] good async DNS library

Miek Gieben miek at miek.nl
Fri Apr 26 06:10:11 UTC 2019


[ Quoting <klaus.mailinglists at pernau> in "[dns-operations] good async DNS lib..." ]
>Hi all!
>
>For various monitoring scripts we use Perl's NET::DNS and 
>Net::DNS::Async. Unfortunately they have various problems, ie 
>Net::DNS::Async does not support DNSSEC and sending to other ports 
>than 54, with Net::DNS's timeout/retries settings I never get the 
>expected results ....
>
>Can someon recommend a DNS library (Perl, Python or PHP preferred) 
>that supports:
>- async resolving
>- setting DO bit
>- EDNS0 options
>- proper timeout handling
>- sending queries to non-standard ports
>- (optional: TCP fallback)

This is in Go, but supports all of the above:

https://github.com/miekg/dns

https://miek.nl/2014/august/16/go-dns-package/

dig-like utility example: https://github.com/miekg/exdns/blob/master/q/q.go

/Miek

--
Miek Gieben



More information about the dns-operations mailing list