mirror of https://github.com/c-ares/c-ares.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tag:
Branch:
Tree:
3429263560
coverity_scan
main
v1.23
v1.24
v1.25
v1.26
v1.27
v1.28
v1.29
v1.30
v1.31
v1.32
v1.33
v1.34
c-ares-1_17_0
c-ares-1_2_0
cares-1_10_0
cares-1_11_0
cares-1_11_0-rc1
cares-1_12_0
cares-1_13_0
cares-1_14_0
cares-1_15_0
cares-1_16_0
cares-1_16_1
cares-1_17_1
cares-1_17_2
cares-1_18_0
cares-1_18_1
cares-1_19_0
cares-1_19_1
cares-1_1_0
cares-1_20_0
cares-1_20_1
cares-1_21_0
cares-1_22_0
cares-1_22_1
cares-1_23_0
cares-1_24_0
cares-1_25_0
cares-1_26_0
cares-1_27_0
cares-1_28_0
cares-1_28_1
cares-1_29_0
cares-1_2_1
cares-1_3_1
cares-1_3_2
cares-1_4_0
cares-1_5_0
cares-1_5_1
cares-1_5_2
cares-1_5_3
cares-1_6_0
cares-1_7_0
cares-1_7_1
cares-1_7_2
cares-1_7_3
cares-1_7_4
cares-1_7_5
cares-1_8_0
cares-1_9_0
cares-1_9_1
curl-7_10_8
curl-7_11_0
curl-7_11_1
curl-7_12_0
curl-7_12_1
curl-7_12_2
curl-7_13_0
curl-7_13_1
curl-7_13_2
curl-7_14_0
curl-7_14_1
curl-7_15_0
curl-7_15_1
curl-7_15_3
curl-7_15_4
curl-7_15_5
curl-7_15_6-prepipeline
curl-7_16_0
curl-7_16_1
curl-7_16_2
curl-7_16_3
curl-7_16_4
curl-7_17_0
curl-7_17_1
curl-7_18_0
curl-7_18_1
curl-7_18_2
curl-7_19_0
curl-7_19_2
curl-7_19_3
curl-7_19_4
curl-7_19_5
curl-7_19_6
curl-7_19_7
curl-7_20_0
v1.30.0
v1.31.0
v1.32.0
v1.32.1
v1.32.2
v1.32.3
v1.33.0
v1.33.1
v1.34.0
v1.34.1
v1.34.2
v1.34.3
${ noResults }
c-ares/.reuse
Brad House
ce9aa4807c
The DNS configuration for apple is stored in the system configuration database. Apple does provide an emulated `/etc/resolv.conf` on MacOS (but not iOS), it cannot, however, represent the entirety of the DNS configuration. Alternatively, libresolv could be used to also retrieve some system configuration, but it too is not capable of retrieving the entirety of the DNS configuration. Attempts to use the preferred public API of `SCDynamicStoreCreate()` and friends yielded incomplete DNS information. Instead, that leaves some apple "internal" symbols from `configd` that we need to access in order to get the entire configuration. We can see that we're not the only ones to do this as Google Chrome also does: https://chromium.googlesource.com/chromium/src/+/HEAD/net/dns/dns_config_watcher_mac.cc These internal functions are what what`libresolv` and `scutil` use to retrieve the dns configuration. Since these symbols are not publicly available, we will dynamically load the symbols from `libSystem` and import the `dnsinfo.h` private header extracted from: https://opensource.apple.com/source/configd/configd-1109.140.1/dnsinfo/dnsinfo.h Fix By: Brad House (@bradh352) |
7 months ago | |
---|---|---|
.. | ||
dep5 | Apple: reimplement DNS configuration reading (#750) | 7 months ago |