<div dir="ltr">I'm upgrading to nsd v4.0.1 (from a six year old release).  I've crafted a new nsd.conf by hand, and would like to take advantage of the "pattern" feature.  I've read the man page, looked at the sample conf file, and even poured through the 16-OCT-2013 slide presentation.  My nsd.conf conforms to the required standard, yet there seems to be a failure when using substitution patterns.<div>

<br></div><div>This fails...</div><div><br></div><div>pattern:</div><div>....name: "solozones"</div><div>....zonefile: "zones/db.%s"</div><div>....provide-xfr: 1.2.3.4 NOKEY</div><div><br></div><div>zone:</div>

<div>....name: "<a href="http://whatever.com">whatever.com</a>"</div><div>....include-pattern: "solozones"</div><div><br></div><div>producing a "could not find pattern solozones" error.  I've also tried using "zones/db.%y.%z" as well as "zones/db.\%s" as the zonefile pattern, to no avail.  The problem seems to be in substitution (it would help if it showed the substitution/expansion in the error output)... because the following works:</div>

<div><br></div><div>pattern:</div><div>....name: "solozones"</div><div>....zonefile: "zones/<a href="http://db.whatever.com">db.whatever.com</a>"</div><div>....provide-xfr: 1.2.3.4 NOKEY</div><div><br>

</div><div>Can someone please tell me what I'm doing wrong, and how to work around this problem?  I want to hard-code (lock down) the zones into nsd.conf, rather than use nsd-control addzone (for PCI and HIPAA reasons).</div>

<div><br></div><div>I hope someone brighter than me can spot why this isn't working.</div><div><br></div></div>