Thomas Winget
2248124453
Removed ldns dependency
...
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-24 22:45:17 -04:00
Thomas Winget
1dece111cc
Added function to check syntax of URL for DNS lookup
...
For now, simply checks for '.' character, but that will be easy to
change in the future if necessary/desired.
2014-09-23 22:59:57 +02:00
Thomas Winget
c14c7e1683
change to allow (at least a bit) for multiple TXT records
2014-09-23 22:58:28 +02:00
Thomas Winget
a5757a628f
Monero addres from DNS TXT record implemented, tests pass
...
Still need to deal with DNSSEC and optional fields in the TXT record.
2014-09-23 22:58:21 +02:00
Thomas Winget
578050e91d
ipv4 and ipv6 resolution working
...
IPv4 and IPv6 name resolution working.
Unit tests written (and passing).
net_node.{h,inl} code modified to use DNS seeds.
2014-09-23 22:58:07 +02:00
Thomas Winget
1ae6db25e6
Initial commit of DNS code
2014-09-23 22:57:57 +02:00