@@ -621,34 +621,37 @@ in
621 zones = mkOption {
621 zones = mkOption {
622 type = types.attrsOf zoneOptions;
622 type = types.attrsOf zoneOptions;
623 default = {};
623 default = {};
624− example = {
624+ example = literalExample ''
625− "serverGroup1" = {
625+ { "serverGroup1" = {
626− provideXFR = [ "10.1.2.3 NOKEY" ];
626+ provideXFR = [ "10.1.2.3 NOKEY" ];
627− children = {
627+ children = {
628− "example.com." = {
628+ "example.com." = {
629− data = ''
629+ data = '''
630− $ORIGIN example.com.
630+ $ORIGIN example.com.
631− $TTL 86400
631+ $TTL 86400
632− @ IN SOA a.ns.example.com. admin.example.com. (
632+ @ IN SOA a.ns.example.com. admin.example.com. (
636− "example.org." = {
636+ "example.org." = {
637− data = ''
637+ data = '''
638− $ORIGIN example.org.
638+ $ORIGIN example.org.
639− $TTL 86400
639+ $TTL 86400
640− @ IN SOA a.ns.example.com. admin.example.com. (
640+ @ IN SOA a.ns.example.com. admin.example.com. (
647− "example.net." = {
647+ "example.net." = {
648− provideXFR = [ "10.3.2.1 NOKEY" ];
648+ provideXFR = [ "10.3.2.1 NOKEY" ];
649− data = ''...'';
649+ data = '''
652 description = ''
655 description = ''
653 Define your zones here. Zones can cascade other zones and therefore
656 Define your zones here. Zones can cascade other zones and therefore
654 inherit settings from parent zones. Look at the definition of
657 inherit settings from parent zones. Look at the definition of