summaryrefslogtreecommitdiff
path: root/tests/unit_tests/dns_resolver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* dns: make ctor privatemoneromooo-monero2015-08-271-6/+6
| | | | | | | This ensures one can't instanciate a DNSResolver object by mistake, but uses the singleton. A separate create static function is added for cases where a new object is explicitely needed.
* Allow name@domain.tld for OpenAlias lookupswarptangent2015-05-191-0/+8
| | | | | | | | | | | | | | | | | | 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
* DNSSEC added (hardcoded key)Thomas Winget2015-03-241-2/+34
| | | | | | | | DNSSEC is now implemented with the hardcoded key from unbound. This will need to be not hardcoded in the future, but is okay for now. Unit tests updated for DNSSEC (as well as for the fact that, contrary to previous assumption, example.com does not have a static IP address).
* move website and DNS unit tests from monero.cc to getmonero.orgRiccardo Spagni2015-02-281-2/+2
|
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* fixed unit testsRiccardo Spagni2014-10-081-2/+3
|
* reload checkpoints file every ~hr and print if any failThomas Winget2014-09-301-0/+1
| | | | also some other minor bug squashing and code formatting
* updated DNSResolver/things that use it for DNSSECThomas Winget2014-09-301-9/+17
| | | | | | | 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.
* change to allow (at least a bit) for multiple TXT recordsThomas Winget2014-09-231-3/+8
|
* Monero addres from DNS TXT record implemented, tests passThomas Winget2014-09-231-0/+39
| | | | Still need to deal with DNSSEC and optional fields in the TXT record.
* ipv4 and ipv6 resolution workingThomas Winget2014-09-231-0/+65
IPv4 and IPv6 name resolution working. Unit tests written (and passing). net_node.{h,inl} code modified to use DNS seeds.