[nsd-users] DS and $ORIGIN

Peter Koch
2011-08-25T11:18:51Z

On Thu, Aug 25, 2011 at 12:49:44PM +0200, Daniel Migault wrote:

> 3) $ORIGIN is not considered and it looks the the owner name
> considered for DS is the latest owner that has been considered.This is
> not fine.
> $ORIGIN zonename
>     DS [arg]

works in conformance with RFC 1035, section 5.1:

  The last two forms represent RRs.  If an entry for an RR begins with a
  blank, then the RR is assumed to be owned by the last stated owner.  If
  an RR entry begins with a <domain-name>, then the owner name is reset.

You'd need to use '@' to explicitly set the owner to $ORIGIN.

-Peter