Add support for SRV record resolution
- Dominant language
- C#
- Stars
- 360
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
### Feature Description
* In an effort to enhance DNS lookups, provide support for SRV record ([RFC 2782](https://datatracker.ietf.org/doc/html/rfc2782)) resolution. This feature should at least be implemented for languages that do not require external dependencies to include the functionality. The following languages can query SRV records natively.
**Go**: https://pkg.go.dev/net#LookupSRV
**JavaScript**: https://nodejs.org/api/dns.html#dnsresolvesrvhostname-callback
**PHP**: https://www.php.net/manual/en/function.dns-get-record.php
**PowerShell**: https://learn.microsoft.com/en-us/powershell/module/dnsclient/resolve-dnsname?view=windowsserver2019-ps
**Ruby**: https://ruby-doc.org/stdlib-2.5.1/libdoc/resolv/rdoc/Resolv/DNS.html
### Progress
- [x] Go (PR #154)
- [ ] JavaScript
- [x] PHP (PR #171)
- [x] PowerShell (PR #145)
- [x] Python -- using external dependency dnspython (PRs #152 and #153)
- [x] Ruby (PR #146)
Contributor guide
Assessment
This issue has not been assessed yet.