diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-02-23 12:21:29 +0000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-02-27 18:52:04 +0100 |
commit | ddf7097a718095e879428667f2d56ec7d4f027e5 (patch) | |
tree | ce5b1da65e0c5d13c2c5c79e853afe57542f1264 /contrib/apparmor/usr.bin.passt | |
parent | 4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5 (diff) | |
download | passt-ddf7097a718095e879428667f2d56ec7d4f027e5.tar passt-ddf7097a718095e879428667f2d56ec7d4f027e5.tar.gz passt-ddf7097a718095e879428667f2d56ec7d4f027e5.tar.bz2 passt-ddf7097a718095e879428667f2d56ec7d4f027e5.tar.lz passt-ddf7097a718095e879428667f2d56ec7d4f027e5.tar.xz passt-ddf7097a718095e879428667f2d56ec7d4f027e5.tar.zst passt-ddf7097a718095e879428667f2d56ec7d4f027e5.zip |
udp: Actually use host resolver to forward DNS queries
Instead of the address of the first resolver we advertise to
the guest or namespace.
This was one of the intentions behind commit 3a2afde87dd1 ("conf,
udp: Drop mostly duplicated dns_send arrays, rename related fields"),
but I forgot to implement this part. In practice, they are usually
the same thing, unless /etc/resolv.conf points to a loopback address.
Fixes: 3a2afde87dd1 ("conf, udp: Drop mostly duplicated dns_send arrays, rename related fields")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Tested-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'contrib/apparmor/usr.bin.passt')
0 files changed, 0 insertions, 0 deletions