Networking Guide
Chapter 6, Configuring the Domain Name Service

Changing an origin in a data file

Changing an origin in a data file

Use the $ORIGIN command to change the domain origin in a data file. The line starts in column 1 and is followed by a domain origin. This is useful for putting more than one domain in a data file.

Only use $ORIGIN to change domains within a particular zone. For example, you might change domains to a subdomain within the current zone. For example:

   $ORIGIN mynet.COM
   [assorted domain data...]
   $ORIGIN sub.mynet.COM
   [assorted domain data...]