Editing BIND files with emacs: which mode?

Niall O'Reilly Niall.oReilly at ucd.ie
Mon Sep 22 10:17:48 UTC 2008


On Fri, 19 Sep 2008 17:55:10 +0100, Stephane Bortzmeyer  
<bortzmeyer at nic.fr> wrote:

> I name my files just "example.org" and it apparently does not trigger
> anything. Yes, ".zone" at the end seems the proper trick.

	Or you can keep naming the files the way you like, and
	put some magic words for Emacs in a comment.

; -*- mode: zone -*-
$ORIGIN example.org.
@	86400 IN SOA dummy.example.org. hostmaster.example.org. (
		2008092200
		28800
		14400
		3600000
		14400
		)
; or whatever

	[ And yes, I haven't thought about those timer values
	  in a long time. ]

	/Niall


More information about the bind-users mailing list