aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* DNSResolver: fix not handling hostnames without dot characters [release]Jeffrey Ryan2022-11-211-9/+0
| | | | Unrelated, but similar code-wise to #8643. There is a check in `DNSResolver` which automatically fails to resolve hostnames which do not contain the `.` character. This PR removes that check.
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Add TLSA support to DNSSEC fetchingLee Clagett2020-10-071-4/+17
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* dns_utils: do not exit if DNS records are corruptmoneromooo-monero2018-11-011-1/+2
|
* dns: change default DNS to a worldwide selectionmoneromooo-monero2018-02-081-1/+1
| | | | DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* dns_utils: allow an optional DNS server IP in DNS_PUBLICmoneromooo-monero2017-10-101-0/+2
| | | | tcp://a.b.c.d
* dns_utils: add <functional> for std::functionmoneromooo-monero2017-08-071-0/+1
|
* Merge pull request #2234Riccardo Spagni2017-08-071-1/+0
|\ | | | | | | 214fd81e some include cleanup (moneromooo-monero)
| * some include cleanupmoneromooo-monero2017-07-311-1/+0
| |
* | Merge pull request #2210Riccardo Spagni2017-08-071-1/+1
|\ \ | | | | | | | | | cb0b5594 Move OpenAlias console input back from libs (moneromooo-monero)
| * | Move OpenAlias console input back from libsmoneromooo-monero2017-07-271-1/+1
| |/ | | | | | | | | | | | | Library code should definitely not ask for console input unless it's clearly an input function. Delegating the user interaction part to the caller means it can now be used by a GUI, or have a decision algorithm better adapted to a particular caller.
* / Fix spelling errorsErik de Castro Lopo2017-07-051-2/+2
|/
* wallet-rpc: enable openaliasstoffu2017-03-171-1/+1
|
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* dns_utils: factor TXT record loading code from checkpoint codemoneromooo-monero2017-02-201-0/+2
|
* extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-081-1/+1
|
* moved get_account_address_from_str_or_url from libcommon to libcryptonote_corekenshi842017-01-241-7/+0
|
* make openalias also available for solo miner; introduce namespace ↵kenshi842016-12-211-0/+19
| | | | tools::dns_utils; support integrated address with dns lookup
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* dns_utils: factor the fetching code for different DNS record typesmoneromooo-monero2015-08-301-0/+13
|
* dns_utils: add a const where possiblemoneromooo-monero2015-08-271-1/+1
|
* dns: make ctor privatemoneromooo-monero2015-08-271-1/+10
| | | | | | | 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.
* dns_utils: simpify smart pointer use, and use for url strings toomoneromooo-monero2015-06-071-1/+1
| | | | OK, I admit I wanted to template this struct for fun too.
* Allow name@domain.tld for OpenAlias lookupswarptangent2015-05-191-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
* Revert "Allow name@domain.tld for OpenAlias lookups"warptangent2015-05-191-4/+1
| | | | This reverts commit b18368b635ba08aea541ef52ebc74180822644a2.
* Allow name@domain.tld for OpenAlias lookupsThomas Winget2015-04-291-1/+4
|
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* updated DNSResolver/things that use it for DNSSECThomas Winget2014-09-301-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.
* Remove LDNS dep and fix a bug in libunbound const correctness fixThomas Winget2014-09-241-1/+1
|
* Removed ldns dependencyThomas Winget2014-09-241-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.
* Added function to check syntax of URL for DNS lookupThomas Winget2014-09-231-0/+9
| | | | | For now, simply checks for '.' character, but that will be easy to change in the future if necessary/desired.
* change to allow (at least a bit) for multiple TXT recordsThomas Winget2014-09-231-4/+4
|
* Monero addres from DNS TXT record implemented, tests passThomas Winget2014-09-231-7/+5
| | | | Still need to deal with DNSSEC and optional fields in the TXT record.
* ipv4 and ipv6 resolution workingThomas Winget2014-09-231-10/+33
| | | | | | IPv4 and IPv6 name resolution working. Unit tests written (and passing). net_node.{h,inl} code modified to use DNS seeds.
* Initial commit of DNS codeThomas Winget2014-09-231-0/+86