[master] reject $ORIGIN before inherited name

3445.	[bug]		Reject zone files with blank owner names immediately
			after $ORIGIN directives. [RT #31848]
This commit is contained in:
Evan Hunt
2012-12-18 16:17:55 -08:00
parent be59cf03c2
commit 3ad3e9c948
6 changed files with 71 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
$ORIGIN test.
$TTL 1000
@ in soa localhost. postmaster.localhost. (
1993050801 ;serial
3600 ;refresh
1800 ;retry
604800 ;expiration
3600 ) ;minimum
in ns ns.test.
in ns ns2.test.
in ns ns3.test.
b in a 1.2.3.4
$ORIGIN sub.test.
in a 4.3.2.1