[dnsdist] SpoofAction or SpoofRawAction syntax
Bit World Computing e.K. - Michael Mertel
michael.mertel at bwc.de
Tue Jul 21 15:34:49 UTC 2020
Hi Leo,
this is what I’ve done this week with SpoofAction, maybe it helps.
The SpoofAction was working fine which is what you want for A-record spoofing? Sorry no example for SpoofRawAction.
Maybe you should add an „.“ after amsterdam?
addAction( AndRule({QNameRule(’test.de.'), QTypeRule(DNSQType.MX)}), SpoofRawAction("\000\100\006zimbra\test\003lan\000"))
addAction( "zimbra.test.lan", SpoofAction("192.168.1.3"))
Best regards.
> Am 21.07.2020 um 16:04 schrieb Leo Vandewoestijne via dnsdist <dnsdist at mailman.powerdns.com>:
>
> Hi,
>
>
>
> This old syntax, worked fine in 1.4.*, but seems to fail in 1.5.0-rc*
>
> addAction(AndRule({QNameRule('i.amsterdam'), QTypeRule(DNSQType.A)}), SpoofAction("10.31.0.20"))
>
> Also I tried to come to the same result using SpoofRawAction but all my syntax guesses failed
> (and the manual doesn't have an A example).
>
> I'm pretty sure it's possible.
> I guess the syntax for SpoofAction was changed (and is not adjusted in the manual yet) ...?
>
>
>
> --
>
>
> Met vriendelijke groet,
> With kind regards,
>
>
> Leo Vandewoestijne
> <***@dns.company>
> <www.dns.company>
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist
—
IT-Security und Infrastruktur-Lösungen optimal für Ihre Umgebung
bintec elmeg / Deepnet Security / Mikrotik / SentinelOne
SonicWall / SOPHOS / STARFACE / VMware / ZyXEL
sowie das Beste aus der Open-Source-Welt
NGiNX, PowerDNS, phpIPAM, Postfix, ZABBIX, zimbra
Michael Mertel
Inhaber / company owner
Bit World Computing e.K.
Wredestr. 18
97082 Wuerzburg
Deutschland / Germany
Fon: +49 (0)931 45335-0
Fax: +49 (0)931 45335-99
E-Mail: michael.mertel at bwc.de
Skype: bwc.michael
Web: http://www.bwc.de
Amtsgericht Wuerzburg HRA 4937, Ust-ID DE155288065
Inhaber / company owner: Michael Mertel
BWC ... one bit ahead ... since 1993
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200721/55320a80/attachment.htm>
More information about the dnsdist
mailing list