aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-06-07dns_utils: simpify smart pointer use, and use for url strings toomoneromooo-monero1-1/+1
OK, I admit I wanted to template this struct for fun too.
2015-05-19Allow name@domain.tld for OpenAlias lookupswarptangent1-0/+12
Based on tewinget's update. Make OpenAlias address format independent of existing DNS functions. Add tests. Test: make debug-test cd build/debug/tests/unit_tests # test that regular DNS functions work, including IPv4 lookups. # also test function that converts OpenAlias address format make && ./unit_tests --gtest_filter=DNSResolver* # test that OpenAlias addresses like donate@getmonero.org work from # wallet tools make && ./unit_tests --gtest_filter=AddressFromURL.Success
2015-05-19Revert "Allow name@domain.tld for OpenAlias lookups"warptangent1-4/+1
This reverts commit b18368b635ba08aea541ef52ebc74180822644a2.
2015-04-29Allow name@domain.tld for OpenAlias lookupsThomas Winget1-1/+4
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-09-30updated DNSResolver/things that use it for DNSSECThomas Winget1-3/+5
Note: DNSResolver does not yet *use* DNSSEC, but rather this commit is preparation for including DNSSEC validation. The function in src/wallet/wallet2.cpp that uses DNSResolver still needs its parameters updated accordingly.
2014-09-24Remove LDNS dep and fix a bug in libunbound const correctness fixThomas Winget1-1/+1
2014-09-24Removed ldns dependencyThomas Winget1-0/+6
ldns dependency was only still around for constants defined in ldns/rr.h, but those constants are RFC specified DNS constants, and to reduce deps have been replicated in dns_utils.h instead of including ldns/rr.h.
2014-09-23Added function to check syntax of URL for DNS lookupThomas Winget1-0/+9
For now, simply checks for '.' character, but that will be easy to change in the future if necessary/desired.
2014-09-23change to allow (at least a bit) for multiple TXT recordsThomas Winget1-4/+4
2014-09-23Monero addres from DNS TXT record implemented, tests passThomas Winget1-7/+5
Still need to deal with DNSSEC and optional fields in the TXT record.
2014-09-23ipv4 and ipv6 resolution workingThomas Winget1-10/+33
IPv4 and IPv6 name resolution working. Unit tests written (and passing). net_node.{h,inl} code modified to use DNS seeds.
2014-09-23Initial commit of DNS codeThomas Winget1-0/+86