I know this does not apply to all kinds of setup, but with virtualization and containerization it should be easy to seperate Postfix and provide a different nameserver in resolv.conf for it.
Cheers Lars Am 22.04.21 um 16:03 schrieb Wietse Venema: > Markus Sch?nhaber: >> 22.04.21, 12:20 +0200, Simon Wilson: >> >>> Is there a way to make Postfix/postscreen use a specific DNS server? >> One way I could think of is to use postfix' chroot features and >> configure this specific DNS server in the chroot's resolv.conf. > That may or may not work. There is no supported way to prevent the > SYSTEM LIBRARY from picking up the resolv.conf file before changing > the root directory. > > Wietse -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de [email protected] AG Mannheim 108285 Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
