incorrect section name: $ORIGIN

@lbutlr kremels at kreme.com
Mon Feb 4 12:03:25 UTC 2019


Here is a domain zone file for example.com which is hosted by covisp.net:

$ORIGIN .
$TTL 86400      ; 1 day
example.com.             IN SOA  ns1.covisp.net. admin.example.com. (
                                2019020100 ; serial
                                300        ; refresh (5 minutes)
                                300        ; retry (5 minutes)
                                18000      ; expire (5 hours)
                                604800     ; minimum (1 week)
                                )
                        NS      ns1.covisp.net.
                        NS      ns2.covisp.net.
                        NS      ns3.covisp.net.
                        A       65.121.55.45
                        MX      10 mail.covisp.net.
$ORIGIN example.com.
webdav                  CNAME   www.covisp.net.
www                     CNAME   www.covisp.net.

$INCLUDE Kexample.com.+007+16695.key
$INCLUDE Kexample.com.+007+34313.key

named.conf:
zone "example.com" { 
	type master;
	file "master/example.com.signed";
	update-policy local; 
	auto-dnssec maintain; 
};


# nsupdate -d -v -l example.com
Creating key...
namefromtext
keycreate
incorrect section name: $ORIGIN
syntax error

So, what is wrong with $ORIGIN? Bind itself doesn't complain.

-- 
THE PLEDGE OF ALLEGIANCE DOES NOT END WITH HAIL SATAN Bart chalkboard
Ep. 1F16



More information about the bind-users mailing list