aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-11-21common: DNSResolver can handle hostnames without dot charactersJeffrey Ryan1-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.
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2020-10-07Add TLSA support to DNSSEC fetchingLee Clagett1-4/+17
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-11-01dns_utils: do not exit if DNS records are corruptmoneromooo-monero1-1/+2
2018-02-08dns: change default DNS to a worldwide selectionmoneromooo-monero1-1/+1
DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-10-10dns_utils: allow an optional DNS server IP in DNS_PUBLICmoneromooo-monero1-0/+2
tcp://a.b.c.d
2017-08-07dns_utils: add <functional> for std::functionmoneromooo-monero1-0/+1
2017-08-07Merge pull request #2234Riccardo Spagni1-1/+0
214fd81e some include cleanup (moneromooo-monero)
2017-08-07Merge pull request #2210Riccardo Spagni1-1/+1
cb0b5594 Move OpenAlias console input back from libs (moneromooo-monero)
2017-07-31some include cleanupmoneromooo-monero1-1/+0
2017-07-27Move OpenAlias console input back from libsmoneromooo-monero1-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.
2017-07-05Fix spelling errorsErik de Castro Lopo1-2/+2
2017-03-17wallet-rpc: enable openaliasstoffu1-1/+1
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-20dns_utils: factor TXT record loading code from checkpoint codemoneromooo-monero1-0/+2
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-1/+1
2017-01-24moved get_account_address_from_str_or_url from libcommon to libcryptonote_corekenshi841-7/+0
2016-12-21make openalias also available for solo miner; introduce namespace ↵kenshi841-0/+19
tools::dns_utils; support integrated address with dns lookup
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-08-30dns_utils: factor the fetching code for different DNS record typesmoneromooo-monero1-0/+13
2015-08-27dns_utils: add a const where possiblemoneromooo-monero1-1/+1
2015-08-27dns: make ctor privatemoneromooo-monero1-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.
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