summaryrefslogtreecommitdiffstats
path: root/src/libserver/dns.c
Commit message (Collapse)AuthorAgeFilesLines
* [Fix] Do not pollute public headers with libev internalsVsevolod Stakhov2023-09-131-0/+1
|
* [Rework] More steps to do refactoringVsevolod Stakhov2023-08-161-5/+5
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-411/+410
| | | | No meaningful changes.
* [Rework] Use dynamic items for calling callbacksVsevolod Stakhov2022-05-091-1/+1
| | | | | It is trivial to get a static item by dynamic item by just subtracting pointers. So there is no need in other complications.
* [Minor] Some minor cleanupsVsevolod Stakhov2021-09-191-6/+6
| | | | Found by: coverity scan
* [Minor] Fix some double freesVsevolod Stakhov2021-09-171-0/+1
| | | | Found by: coverity scan
* [Minor] Remove redundant strdupVsevolod Stakhov2021-01-071-1/+1
|
* [Minor] Plug minor leakVsevolod Stakhov2021-01-051-0/+4
|
* [Minor] Allow to skip IDN checks in rdnsVsevolod Stakhov2020-09-231-1/+2
|
* [Fix] Use strict IDNA for utf8 DNS names + add sanity checks for DNS namesVsevolod Stakhov2020-09-231-2/+119
|
* [Minor] Implement `hosts` parameter in DNS configVsevolod Stakhov2020-03-171-2/+16
|
* [Feature] Implement hosts file processingVsevolod Stakhov2020-03-171-1/+120
|
* [Minor] Add failure reason in the upstreams codeVsevolod Stakhov2019-11-131-3/+3
|
* [Minor] Except the current upstream when doing final DNS retransmitVsevolod Stakhov2019-11-081-1/+7
|
* [Fix] Fail DNS upstream on each retransmit attemptVsevolod Stakhov2019-11-081-2/+6
|
* [Minor] DNS: Add servfail cacheVsevolod Stakhov2019-10-311-8/+142
|
* [Minor] Oops, fix unref logicVsevolod Stakhov2019-09-301-2/+0
|
* [Fix] Fix registry leak in case of DNS errorsVsevolod Stakhov2019-09-301-0/+2
|
* [Fix] Distinguish remote and local addrs parsingVsevolod Stakhov2019-09-281-1/+2
|
* [Minor] Allocate memory from cfg pool to avoid leakVsevolod Stakhov2019-09-271-1/+1
|
* [Minor] Allow to deinit resolverVsevolod Stakhov2019-09-271-0/+16
|
* [Minor] Merge fake DNS recordsVsevolod Stakhov2019-08-261-167/+185
|
* [Minor] Reduce log severityVsevolod Stakhov2019-07-271-1/+1
|
* [Project] Rework pluginsVsevolod Stakhov2019-07-121-2/+2
|
* [Project] First refactoring step libevent->libevVsevolod Stakhov2019-06-221-6/+7
|
* [Minor] Refactor DNS resolver invocationsVsevolod Stakhov2019-04-111-21/+21
|
* [Minor] Allow delayed DNS servers initVsevolod Stakhov2019-03-301-1/+1
|
* [Fix] Core: Fix address rotation bugVsevolod Stakhov2019-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | Previously, upstream.get_addr function returned the new address of the upstream. Unfortunately, it was used for printing addresses. It caused the following situation: let's imagine we have A1 and A2 where A1 was initially selected. So the connection was performed to A1: Current addr Selected addr Connect+---------+ A2+------>A1 A1 | +-+Print failure<---+ A1+------>A2 A2 | +----+ +->Mark failure+-------->+ A2 | +----+ But the failure OP as well as log message told about `A2` where the real problem happened with `A1`. This commit adds distinguishing between getting the next and the current address of the upstream resolving this issue.
* [Minor] Fix some issuesVsevolod Stakhov2019-01-141-1/+0
|
* [Minor] Add logging number of fake entriesVsevolod Stakhov2018-12-151-1/+6
|
* [Project] Another rework for symbols cacheVsevolod Stakhov2018-10-291-2/+2
|
* [Rework] Add more traces to async events, get rid of GQuarksVsevolod Stakhov2018-10-261-3/+5
|
* [Minor] Try harder to track DNS based chainingVsevolod Stakhov2018-10-251-0/+5
|
* [Fix] Various fixes in embedded pluginsVsevolod Stakhov2018-10-211-9/+12
|
* [Project] Add items logic in DNS resolverVsevolod Stakhov2018-10-201-10/+26
|
* [Fix] Fix more issues with watching of async eventsVsevolod Stakhov2018-09-121-3/+1
|
* [Fix] Fix crashes on task cleanupVsevolod Stakhov2018-09-101-1/+1
|
* [Fix] Add fail-safety for destroying sessionsVsevolod Stakhov2018-08-141-0/+4
|
* [Fix] Call Lua callback on DNS timeoutsVsevolod Stakhov2018-08-141-5/+27
|
* Merge pull request #2412 from negram/add-record-type-to-logVsevolod Stakhov2018-08-101-4/+4
|\ | | | | [Minor] Add record type into log when set up fake records
| * [Minor] str_from_rdns_type -> rdns_str_from_type to keep consistencyMikhail Galanin2018-08-101-3/+3
| |
| * [Minor] Add record type into log when set up fake recordsMikhail Galanin2018-08-101-4/+4
| |
* | [Minor] Fixed parsing of faked mx-record: priority goes first and then the valueMikhail Galanin2018-08-101-2/+2
|/
* [Fix] Work with broken resolvers in resolv.confVsevolod Stakhov2018-07-051-0/+29
|
* [Feature] Distinguish IP failures from connection failuresVsevolod Stakhov2018-07-021-1/+1
|
* [Minor] Fix fake records parsingVsevolod Stakhov2018-06-111-1/+10
|
* [Feature] Allow to specify fake DNS address from the configVsevolod Stakhov2018-06-111-0/+208
|
* [Minor] More g_slice cleanupsVsevolod Stakhov2017-10-281-6/+6
|
* [Fix] Fix parsing IPv6 nameservers in resolv.confVsevolod Stakhov2017-06-141-2/+3
|
* [Fix] Allow to init resolver without rspamd_configVsevolod Stakhov2017-06-131-46/+42
|