diff options
author | Iwan Timmer <irtimmer@gmail.com> | 2018-04-27 17:50:38 +0200 |
---|---|---|
committer | Iwan Timmer <irtimmer@gmail.com> | 2018-06-11 21:35:58 +0200 |
commit | 5d67a7ae749deb744125de9301cc71689a22648a (patch) | |
tree | 70c0d6a34774110beeb424a277180b0ca400ee33 /meson.build | |
parent | resolved: TCP fast open connections (diff) | |
download | systemd-5d67a7ae749deb744125de9301cc71689a22648a.tar.xz systemd-5d67a7ae749deb744125de9301cc71689a22648a.zip |
resolved: support for DNS-over-TLS
Add support for DNS-over-TLS using GnuTLS. To reduce latency also TLS False Start and TLS session resumption is supported.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 3644e8d5cb..c62d2afccd 100644 --- a/meson.build +++ b/meson.build @@ -1137,6 +1137,18 @@ conf.set('DEFAULT_DNSSEC_MODE', 'DNSSEC_' + default_dnssec.underscorify().to_upper()) substs.set('DEFAULT_DNSSEC_MODE', default_dnssec) +default_private_dns = get_option('default-private-dns') +if fuzzer_build + default_private_dns = 'no' +endif +if default_private_dns != 'no' and conf.get('HAVE_GNUTLS') == 0 + message('default-private-dns cannot be set to strict or opportunistic when gnutls is disabled. Setting default-private-dns to no.') + default_private_dns = 'no' +endif +conf.set('DEFAULT_PRIVATE_DNS_MODE', + 'PRIVATE_DNS_' + default_private_dns.underscorify().to_upper()) +substs.set('DEFAULT_PRIVATE_DNS_MODE', default_private_dns) + want_importd = get_option('importd') if want_importd != 'false' have = (conf.get('HAVE_LIBCURL') == 1 and @@ -1585,6 +1597,7 @@ if conf.get('ENABLE_RESOLVE') == 1 libbasic_gcrypt, libsystemd_resolve_core], dependencies : [threads, + libgnutls, libgpg_error, libm, libidn], @@ -2857,6 +2870,7 @@ status = [ 'symbolic gateway hostnames: @0@'.format(', '.join(gateway_hostnames)), 'default DNSSEC mode: @0@'.format(default_dnssec), + 'default private DNS mode: @0@'.format(default_private_dns), 'default cgroup hierarchy: @0@'.format(default_hierarchy), 'default KillUserProcesses setting: @0@'.format(kill_user_processes)] |