From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs and Bind9
Date: Thu, 28 Jan 2010 21:41:37 -0700 [thread overview]
Message-ID: <hjtots$k23$1@ger.gmane.org> (raw)
In-Reply-To: <4B61ACD2.1040506@maxpointinteractive.com>
Drew Shaughnessy wrote:
> Hello there.
> I am in the process of configuring a Bind9 server on Ubuntu 9.10, but
> for some reason my emacs will not let me save my zone files because with
> the error "Cannot locate SOA record". This is slightly understandable
> since I am trying to use the SOA record from another file with this line:
>
> $INCLUDE "/var/cache/bind/internal/includes/mydomain-soa"
>
> And here is my mydomain-soa file:
>
> $TTL 86400
> @ IN SOA ns1.mydomain.com. admin.mydomain.com. (
> 2010012712 ; Serial
> 21600 ; Refresh
> 3600 ; Retry
> 604800 ; Expires
> 86400 ) ; Minimum
>
> IN NS ns1.
> IN NS ns2.
> IN MX 10 mail.
>
>
> Currently Bind restarts just fine and will preform lookups without any
> issue. Is there some config I can put into .emacs or some mode I can use
> that will keep emacs from checking for a SOA record?
The DNS mode that comes with Emacs does not actually process the
$INCLUDE control entity, and by default requires the SOA to be present
in the file.
But since your SOA record is in another file, you probably want to set
dns-mode-soa-auto-increment-serial to nil (or 'ask), and to do so as a
file local variable:
; -*- mode: dns-mode; dns-mode-soa-auto-increment-serial: nil; -*-
--
Kevin Rodgers
Denver, Colorado, USA
prev parent reply other threads:[~2010-01-29 4:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-28 15:27 Emacs and Bind9 Drew Shaughnessy
2010-01-29 4:41 ` Kevin Rodgers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hjtots$k23$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.