<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">bert hubert <<a href="mailto:bert.hubert@powerdns.com">bert.hubert@powerdns.com</a>> 于2019年4月16日周二 上午3:23写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
You can also create a SuffixMatchNode and fill it programatically and then<br>
use a SuffixMatchNodeRule(smn) on it.<br></blockquote><div><br></div>The usage you refer is undocumented, isn't it?  The functionality has been</div><div class="gmail_quote">there for quite some time, but few people know that.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Even I did read this issue <a href="https://github.com/PowerDNS/pdns/issues/5433">https://github.com/PowerDNS/pdns/issues/5433</a> , I didn't</div><div class="gmail_quote">realize that I can use it (to forward some specific domains to specific server).<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Google "newSuffixMatchNode site:<a href="http://dnsdist.org">dnsdist.org</a>" returns only  1 false result. Here we</div><div class="gmail_quote">need doc improvement, I think.</div><div class="gmail_quote"><br></div><div class="gmail_quote">BTW, it should be use carefully, because<br></div><div class="gmail_quote"><a href="https://mailman.powerdns.com/pipermail/dnsdist/2016-February/000122.html">https://mailman.powerdns.com/pipermail/dnsdist/2016-February/000122.html</a></div></div></div>