Commit graph

20 commits

Author SHA1 Message Date
Serge Gautherie f0e13157c6
[DNSAPI] DNSRSLVR_HANDLE_bind(): Demote 1 DPRINT1() (#4733)
Addendum to b79246c534 (0.4.14-dev-174).
CORE-18384
2022-09-28 22:38:35 +03:00
Eric Kohl 894cc4ac0c [dnsapi][dnsrslvr] Implement DnsFlushResolverCacheEntry_A/_UTF8/_W 2021-05-24 14:43:30 +02:00
Eric Kohl 0a274da7cd [DNSAPI] DnsQuery_W: Check names for invalid characters before querying the dns resolver. 2020-01-18 15:03:12 +01:00
Eric Kohl 7789ce1ebc [DNSAPI] Answer queries for ip addresses before they are passed to the resolver cache. 2020-01-12 15:15:55 +01:00
Eric Kohl b4777797aa [DNSAPI] Set proper record flags for query results and converted records 2019-12-22 14:40:18 +01:00
Eric Kohl 6c7878f35e [DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable() 2019-12-22 11:21:04 +01:00
Eric Kohl 630f34a0d0 [DNSAPI][DNSRSLVR] Parse the hosts file when the resolver is initializing
- Move the hosts file handling from dnsapi.dll to the resolver service. Now, the hosts file is no longer parsed on each query.
- Add support for DNS_QUERY_WIRE_ONLY and DNS_QUERY_NO_WIRE_QUERY flags to R_ResolverQuery.
- GetCurrentTimeInSeconds() should return DWORD instead of DNS_STATUS.
2019-11-23 17:13:51 +01:00
Eric Kohl 872fc17d0d [DNSAPI] Simplify the directory structure 2019-11-17 16:37:13 +01:00
Eric Kohl 305035be7d [DNSRSLVR][DNSAPI] Enable the DNS resolver cache
- Fix the IDL file to return DNS records properly
- Reroute the DNS query call path: DNSQuery->R_ResolverQuery->Query_Main

DNS records get cached and 'ipconfig /flushdns' works as expected.

CORE-12159
2019-11-10 15:28:42 +01:00
Hermès Bélusca-Maïto 4b82c19196
[DNSAPI] Fix MSVC build. 2019-11-03 17:00:57 +01:00
Eric Kohl 158fda5cdf [DNSAPI][PSDK] Implement GetCurrentTimeInSeconds() and fix DnsQuery_A/UTF8/W() 2019-11-02 23:59:06 +01:00
Eric Kohl 01bd090db0 [DNSAPI] Add missing exported functions 2019-11-02 18:48:31 +01:00
Eric Kohl a2f4e191f4 [DNSAPI] Get rid of the internal/windns.h file. 2019-10-27 23:20:26 +01:00
Eric Kohl b79246c534 [DNSAPI] Add the Resolver Service RPC client code and implement DnsFlushResolverCache()
Patch by Peter Hater and Christoph von Wittich.
Slightly modified by me.

CORE-12159
2019-10-27 20:38:25 +01:00
Eric Kohl 789edebfac [IPCONFIG][DNSAPI][SDK] Renamed DNSCACHEENTRY and fixed its type field(s)
Now, 'ipconfig /displaydns' displays A- and AAAA-records correctly.
2019-10-27 08:35:03 +01:00
Eric Kohl 4455dcb26e [DNSAPI][REACTOS] Add a header for undocumented dnsapi functions and use it in dnsapi.dll 2019-10-20 23:13:46 +02:00
Konstantin Motylkov ab2c90f1b9
[DNSAPI][DNSAPI_APITEST] Fix DnsQuery_UTF8 function and add tests
CORE-11634
2019-08-19 20:01:23 +02:00
Timo Kreuzer 81bdf4e360 [CRT] Add missing posix error codes
These are required by latest mingw-w64 stl and we are mixing this with our crt headers.
Define _CRT_NO_POSIX_ERROR_CODES in all modules that define their own constants.
2019-05-27 13:22:40 +02:00
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00