On Mon, Jul 15, 2024 at 14:00:03 +0100, Adam Weremczuk wrote:
> What I need to configure for my Debian 12 VM:
> - no public or LAN DNS whatsoever
> - ability to fetch a single MX record for a single domain
> 
> I don't think I can add MX to /etc/hosts which only works for A records.
> 
> I'm after a similarly simple, "one liner" solution.

I'm *so* confused by this question.  You want to be able to *fetch* an MX
record?  You don't want to configure your MTA in a static way so that
it delivers mail properly for this domain right now?  You need to be able
to *fetch* the MX record in real time in case it changes?

And you want to do that *without* being able to contact the real DNS?

How does one reconcile these goal statements?  It's beyond me.

Reply via email to