[Dnsmasq-discuss] Doing a split zone config
Geert Stappers
stappers at stappers.nl
Mon Mar 29 06:24:04 UTC 2021
On Sun, Mar 28, 2021 at 10:11:01PM +0200, Roland Giesler wrote:
> Is it possible to set up a split zone in dnsmasq?
>
> I mean a want more than just a host override, effectively only an A record
> to be overridden and the other records blocked.
>
> So if I query abc.xyz from the internet I would get a public ip address and
> the same for the mx record. If I however query "dig abc.xyz" from the LAN
> i would get my override record, 192.168.1.2.
>
> If I were to query "dig abc.xyz mx", I would get no response. Is there a
> way in which I can tell dnsmasq to give me the mx record
Snippet from the dnsmasq manual page:
-m, --mx-host=<mx name>[[,<hostname>],<preference>]
Return an MX record named <mx name> pointing to the given
hostname (if given),
> from the authoritative dns server?
Query that authoritative DNS and enter the returned value
in the dnsmasq configuration.
> thanks
I'm looking forward to the feedback.
> *Roland *
Groeten
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list