named.conf revision d0be1e954bd4674fc27f2616c72adb37cf3525a2
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence/*
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * Copyright (C) 2000 Internet Software Consortium.
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence *
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * Permission to use, copy, modify, and distribute this software for any
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * purpose with or without fee is hereby granted, provided that the above
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * copyright notice and this permission notice appear in all copies.
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence *
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence * SOFTWARE.
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence */
d0be1e954bd4674fc27f2616c72adb37cf3525a2David Lawrence
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyeroptions {
ee6fe1d1975604af266af6c370fc6193dae80fddMichael Sawyer query-source address 10.53.0.2;
10bc8ffed60f064a2950527a82d7fdffe91b6206Michael Sawyer port 5300;
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer pid-file "named.pid";
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer listen-on { 10.53.0.2; };
126c8d0c085dedfbd52931a3c0579189f49d6690Brian Wellington listen-on-v6 {none;};
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer recursion no;
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer notify yes;
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer};
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyerzone "." {
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer type hint;
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer file "root.hint";
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer};
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyerzone "example" {
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer type master;
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer file "example.db";
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer allow-update { any; };
bd334e0366c0f21bf15de9282b02f1bed4ccde14Michael Sawyer};