mein named.conf
Code: Select all
# Copyright (c) 2001 SuSE GmbH Nuernberg, Germany
#
# Author: Frank Bodammer <feedback@suse.de>
#
# /etc/named.conf
#
# This is a sample configuration file for the name server BIND9.
# It works as a caching only name server without modification.
#
# A sample configuration for setting up your own domain can be
# found in /usr/share/doc/packages/bind9/sample-config.
#
# A description of all available options can be found in
# /usr/share/doc/packages/bind9/misc/options.
options {
directory "/var/named";
forwarders { 195.20.224.234; 217.xxx.xxx.xx; };
forward first;
listen-on port 53 { 127.0.0.1; 217.xxx.xxx.xx; };
listen-on-v6 { none; };
allow-transfer { 195.20.224.97; };
allow-query { 127.0.0.1; 217.xxx.xxx.xx; };
notify yes;
auth-nxdomain no;
allow-recursion { 127.0.0.1; 217.xxx.xxx.xx; };
};
zone "localhost" in {
type master;
file "/var/named/localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "/var/named/127.0.0.zone";
};
zone "." in {
type hint;
file "/var/named/root.hint";
};
zone "turkwebhost.net" {
type master;
file "/var/named/meindomain.net.zone";
allow-query { any; };
};
Code: Select all
$TTL 1W
@ IN SOA ns.meindomain.net. root.maindomain.net. (
2002123001 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11h ) ; minimum
;
; Zone name server records
;
IN NS ns
IN NS ns.meindomain.net.
;
; Zone mail exchange records
;
IN MX 10 mx
;
; Zone records
;
IN A 217.xxxx.xxxx.xx
* IN A 217.xxxx.xxxx.xx