named.conf revision 5c5c6d289db78e41f714007426a387498e15963c
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont/*
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont *
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * Permission to use, copy, modify, and/or distribute this software for any
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * purpose with or without fee is hereby granted, provided that the above
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * copyright notice and this permission notice appear in all copies.
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont *
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont * PERFORMANCE OF THIS SOFTWARE.
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont */
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupontcontrols { /* empty */ };
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupontoptions {
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont query-source address 10.53.0.3;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont notify-source 10.53.0.3;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont transfer-source 10.53.0.3;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont port 5300;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont directory ".";
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont pid-file "named.pid";
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont listen-on { 10.53.0.3; };
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont listen-on-v6 { none; };
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont recursion yes;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont notify yes;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont};
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupontserver 10.53.0.1 { tcp-only yes; };
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupontkey rndc_key {
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont secret "1234abcd8765";
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont algorithm hmac-sha256;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont};
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupontcontrols {
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont inet 10.53.0.3 port 9953 allow { any; } keys { rndc_key; };
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont};
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupontzone "." {
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont type hint;
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont file "../../common/root.hint";
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont};