systemd-resolved: use hostname for certificate validation in DoT

Widely accepted certificates for IP addresses are expensive and only
affordable for larger organizations. Therefore if the user provides
the hostname in the DNS= option, we should use it instead of the IP
address.

(cherry picked from commit eec394f10bbfcc3d2fc8504ad8ff5be44231abd5)
3 files changed
tree: b87462b385d1ff479c62e50cabd49873e2496376
  1. .ctags
  2. .dir-locals.el
  3. .editorconfig
  4. .gitattributes
  5. .github/
  6. .gitignore
  7. .lgtm.yml
  8. .lgtm/cpp-queries/
  9. .mailmap
  10. .mkosi/
  11. .travis.yml
  12. .vimrc
  13. .ycm_extra_conf.py
  14. LICENSE.GPL2
  15. LICENSE.LGPL2.1
  16. Makefile
  17. NEWS
  18. README
  19. README.md
  20. TODO
  21. azure-pipelines.yml
  22. catalog/
  23. coccinelle/
  24. configure
  25. docs/
  26. factory/etc/
  27. fuzzbuzz.yaml
  28. hwdb.d/
  29. man/
  30. meson.build
  31. meson_options.txt
  32. mkosi.build
  33. modprobe.d/
  34. network/
  35. po/
  36. presets/
  37. rules.d/
  38. semaphoreci/
  39. shell-completion/
  40. src/
  41. sysctl.d/
  42. sysusers.d/
  43. test/
  44. tmpfiles.d/
  45. tools/
  46. travis-ci/
  47. units/
  48. xorg/
  49. zanata.xml
README.md

Systemd

System and Service Manager

Semaphore CI Build Status
Coverity Scan Status
Fuzzit Status
OSS-Fuzz Status
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status
Build Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.