##########################################
default.zone
##########################################
$TTL 1W
@ IN SOA ns hostmaster.flami.net. (
2007042401 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11h) ; minimum
IN NS ns
IN NS ns0.xname.org.
IN NS ns1.xname.org.
IN MX 80 mail
IN A 88.198.47.84
IN TXT "v=spf1 ip4:88.198.47.84 a mx ~all"
IN MX 80 mail
* IN A 88.198.47.84
IN MX 10 mail
ns IN A 88.198.47.84
mail IN A 88.198.47.84
IN MX 10 mail
IN TXT "v=spf1 a -all"
############################################
db.local
############################################
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.1
#############################################
named.conf
#############################################
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };
include "/etc/bind/named.conf.local";
include "/etc/bind/syscp_bind.conf";
###########################################################
syscp_bind.conf
###########################################################
# /etc/bind/syscp_bind.conf
# Created 24.04.2007 21:00
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
# Domain ID: 2 - CustomerID: 1 - CustomerLogin: flami2
zone "flami.net" in {
type master;
file "/etc/bind/default.zone";
allow-query { any; };
};
##############################################################
namedd.conf.options
##############################################################
options {
directory "/var/cache/bind";
pid-file "/var/run/bind/named.pid";
notify yes;
allow-transfer { 193.218.105.149; 195.234.42.1; 193.218.105.145; 127.0.0.1; };
forwarders { 193.218.105.149; 195.234.42.1; 193.218.105.145; 127.0.0.1; };
forward first;
listen-on port 53 { 127.0.0.1; 88.198.47.84; };
listen-on-v6 { none; };
allow-query { 127.0.0.1; 88.198.47.84; };
allow-recursion { 127.0.0.1; 88.198.47.84; };
auth-nxdomain no; // conform to RFC1035
// directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
// query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
//allow-transfer {
// 193.218.105.149; 195.234.42.1; 193.218.105.145;
//};
//auth-nxdomain no; # conform to RFC1035
//listen-on-v6 { none; };
};