<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Leo,<div class=""><br class=""></div><div class="">this is what I’ve done this week with SpoofAction, maybe it helps.</div><div class=""><br class=""></div><div class="">The SpoofAction was working fine which is what you want for A-record spoofing? Sorry no example for SpoofRawAction.</div><div class="">Maybe you should add an „.“ after amsterdam?</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">addAction( AndRule({QNameRule(’<a href="http://test.de" class="">test.de</a>.'), QTypeRule(DNSQType.MX)}), SpoofRawAction("\000\100\006zimbra\test\003lan\000"))</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class="">addAction( "zimbra.test.lan", SpoofAction("192.168.1.3"))</div><div class=""><br class=""></div><div class="">Best regards.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 21.07.2020 um 16:04 schrieb Leo Vandewoestijne via dnsdist <<a href="mailto:dnsdist@mailman.powerdns.com" class="">dnsdist@mailman.powerdns.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class=""><br class=""><br class="">This old syntax, worked fine in 1.4.*, but seems to fail in 1.5.0-rc*<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>addAction(AndRule({QNameRule('i.amsterdam'), QTypeRule(DNSQType.A)}), SpoofAction("10.31.0.20"))<br class=""><br class="">Also I tried to come to the same result using SpoofRawAction but all my syntax guesses failed<br class="">(and the manual doesn't have an A example).<br class=""><br class="">I'm pretty sure it's possible.<br class="">I guess the syntax for SpoofAction was changed (and is not adjusted in the manual yet) ...?<br class=""><br class=""><br class=""><br class="">-- <br class=""><br class=""><br class="">Met vriendelijke groet,<br class="">With kind regards,<br class=""><br class=""><br class="">Leo Vandewoestijne<br class=""><***@dns.company><br class=""><<a href="http://www.dns.company" class="">www.dns.company</a>><br class="">_______________________________________________<br class="">dnsdist mailing list<br class=""><a href="mailto:dnsdist@mailman.powerdns.com" class="">dnsdist@mailman.powerdns.com</a><br class="">https://mailman.powerdns.com/mailman/listinfo/dnsdist<br class=""></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>—<br class="">IT-Security und Infrastruktur-Lösungen optimal für Ihre Umgebung<br class=""><br class=""><br class="">bintec elmeg / Deepnet Security / Mikrotik / SentinelOne<br class="">SonicWall / SOPHOS / STARFACE / VMware / ZyXEL<br class=""> sowie das Beste aus der Open-Source-Welt <br class="">NGiNX, PowerDNS, phpIPAM, Postfix, ZABBIX, zimbra<br class=""><br class=""><br class="">Michael Mertel<br class="">Inhaber / company owner<br class=""><br class=""><br class="">Bit World Computing e.K.<br class="">Wredestr. 18<br class="">97082 Wuerzburg<br class="">Deutschland / Germany<br class=""><br class="">Fon: +49 (0)931 45335-0<br class="">Fax: +49 (0)931 45335-99<br class=""><br class=""><a href="mailto:michael.mertel@bwc.de" class="">E-Mail: michael.mertel@bwc.de</a><br class="">Skype: bwc.michael<br class="">Web: http://www.bwc.de<br class=""><br class="">Amtsgericht Wuerzburg HRA 4937, Ust-ID DE155288065<br class="">Inhaber / company owner: Michael Mertel<br class=""><br class=""><br class="">BWC ... one bit ahead ... since 1993</div></div></div>
</div>
<br class=""></div></div></body></html>