How is a $ORIGIN directive used inside a DNS Zone File

Harshith Mulky harshith.mulky at
Mon Dec 14 07:36:15 UTC 2015

Why is a $ORIGIN directive used in DNS Zone Files?
Would my Zone Files not work if I do not have $ORIGIN directive?

I would need some examples on how this works, lets say

[ What does $ORIGIN . mean?]

What is the difference here having in $ORIGIN [ as in example 1] or having it in NAPTR Records section [as in Example 2]
1.            $ORIGIN


2.               $ORIGIN
                          0            NAPTR    10 10 "u" "sip+E2U" "!^.*$!sip:2052025720 at!" .
                          1            NAPTR    10 10 "u" "sip+E2U" "!^.*$!sip:2052025721 at!" .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bind-users mailing list