aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-03-12 01:51:56 +0100
committerStefano Brivio <sbrivio@redhat.com>2024-03-14 08:16:04 +0100
commit43881636c29f98076a0a0740aeb2079d103b4fe6 (patch)
tree251b53bd54a04834f649ed6ce221dbda6c3c0eb9 /passt.c
parentb299942bbde8770c5fbe4f66c932b1d2ac05ab8f (diff)
downloadpasst-43881636c29f98076a0a0740aeb2079d103b4fe6.tar
passt-43881636c29f98076a0a0740aeb2079d103b4fe6.tar.gz
passt-43881636c29f98076a0a0740aeb2079d103b4fe6.tar.bz2
passt-43881636c29f98076a0a0740aeb2079d103b4fe6.tar.lz
passt-43881636c29f98076a0a0740aeb2079d103b4fe6.tar.xz
passt-43881636c29f98076a0a0740aeb2079d103b4fe6.tar.zst
passt-43881636c29f98076a0a0740aeb2079d103b4fe6.zip
conf: Handle addresses passed via --dns just like the ones from resolv.conf
...that is, call add_dns4() and add_dns6() instead of simply adding those to the list of servers we advertise. Most importantly, this will set the 'dns_host' field for the matching IP version, so that, as mentioned in the man page, servers passed via --dns are used for DNS mapping as well, if used in combination with --dns-forward. Reported-by: Paul Holzinger <pholzing@redhat.com> Link: https://bugs.passt.top/show_bug.cgi?id=82 Fixes: 89678c515755 ("conf, udp: Introduce basic DNS forwarding") Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Tested-by: Paul Holzinger <pholzing@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions