Migrating 8.x.x BIND to 9.0.1

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Tue Dec 19 00:36:40 UTC 2000


	If you have multiple classes in named.conf you must make use of
	the views mechanism.  This has been added to doc/misc/migration.

	view "in" in {
		...
		// 
	}

	view "chaos" chaos {
		...
	}

	Mark

> 
> I am upgrading/installing 9.0.1 using a variant of my "old" 8.x.x files, 
> and am getting the following error message in my daemon-log file:
> 
> Dec 18 15:22:20 m1flint named[24382]: starting BIND 9.0.1
> Dec 18 15:22:20 m1flint named[24382]: loading configuration from 
> '/etc/named.conf'
> Dec 18 15:22:20 m1flint named[24382]: zone 'bind': wrong class for view 
> '<default view>'
> Dec 18 15:22:20 m1flint named[24382]: zone configuration for 'bind' failed: 
> failure
> Dec 18 15:22:20 m1flint named[24382]: loading configuration: failure
> Dec 18 15:22:20 m1flint named[24382]: exiting (due to fatal error)
> 
> The named.conf (in /etc) for 'bind' looks like:
> 
> zone "bind" chaos {
>          type master;
>          file "primary/bind";
>          allow-query {
>                  trusted;
>          };
>          allow-transfer {
>                  none;
>          };
> };
> 
> and the "primary/bind" contains:
> 
> ; File /etc/dns/primary/bind
> $ORIGIN bind.
> $TTL 86400
> @       1D      CHAOS SOA       localhost.      root.localhost. (
>                                  2000121801              ; serial
>                                  3H                      ; refresh
>                                  1H                      ; retry
>                                  1W                      ; expiry
>                                  1D )                    ; minimum
>                  CHAOS NS        localhost.
> ; EOF
> 
> Looking at the 'options' document, the named.conf seems okay, except I 
> haven't implemented a view declaration in this file. While my 3rd edition 
> Bind book talks about it, regretfully, I don't know if it applies or not, 
> nor if it is even applicable.
> 
> Can someone point me in the right direction or lend a hand?
> 
> Thanks.
> 
> ===
> Bob Gahl Bicycle (Ryan Vanguard) Mobile ||     @
>      ARPA/Internet: bgahl at bawcsa.org     ||  !_ \
>     URL: http://www.bawcsa.org/bgahl/    ||  (*)-~--+--(*)
> "Sahn joong moe low ful how jee yah ching wong" - "When the
> mountain has no tigers, the monkey will also declare himself
> king." Chinese Proverb
> 
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com



More information about the bind-users mailing list