named2.conf revision 821644d49b73b49f2abc5463bc53a3132f612478
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews/*
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * Copyright (C) 2000, 2001 Internet Software Consortium.
f3cbd0e0299338f95a97e73ac9c2b0fcdca2cbfbTinderbox User *
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * Permission to use, copy, modify, and distribute this software for any
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * purpose with or without fee is hereby granted, provided that the above
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * copyright notice and this permission notice appear in all copies.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews *
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews */
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews/* $Id: named2.conf,v 1.16 2004/03/02 02:01:38 marka Exp $ */
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Huntcontrols { /* empty */ };
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Hunt
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Huntoptions {
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews query-source address 10.53.0.3;
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews notify-source 10.53.0.3;
95de316a5d99b09804eda3223d1a41623d7ed611Evan Hunt transfer-source 10.53.0.3;
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt port 5300;
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt directory ".";
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt pid-file "named.pid";
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt listen-on { 10.53.0.3; };
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt listen-on-v6 { none; };
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt recursion yes;
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews notify yes;
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews};
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Huntkey rndc_key {
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt secret "1234abcd8765";
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt algorithm hmac-md5;
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt};
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Huntcontrols {
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt inet 10.53.0.3 port 11953 allow { any; } keys { rndc_key; };
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt};
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Huntzone "." {
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt type hint;
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt file "../../common/root.hint";
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt};
ab6fd5e89266a29efdafee3784d2cb06f8624b1bMark Andrews
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Huntzone "example" {
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt type slave;
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt masters { 10.53.0.2; };
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Hunt allow-update { any; };
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt file "internal.bk";
ab6fd5e89266a29efdafee3784d2cb06f8624b1bMark Andrews};
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt