problem with a dns server bind
Vincent WICKY
vincent.wicky at orange.fr
Wed Apr 23 09:36:36 UTC 2008
Hello I'm french, sorry I don't speak very well english.
I wish to make my local DNS server.
I set up a debian computer with this following data.
The server don't run but I don't know where is the problem.
Can somebody help me please.
Thank you!!
Vincent.
name of the machine : debian
name of the dns : somex.lan
fichier hosts
127.0.0.1localhost
127.0.1.1debian.SomexFR.localdebian
192.168.1.55debian.somex.localdebian
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
fichier resolv.conf
search somex.local
nameserver 192.168.1.55
fichier 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 "somex.local" {
type master;
file "/etc/bind/db.somex.local";
forwarders{};
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.somex.local.inv";
forwarders{};
};
// 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";
fichier named.conf.options
options {
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 {
80.10.246.2;
80.10.246.129;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
fichier db.somex.local
$TTL604800 at INSOAdebian.somex.local.root.somex.local. (
20080410;serial
604800;refresh
86400;retry
2419200;expire
604800 );minimum
NSdebian.somex.local.
debianA192.168.1.55
debianHINFO"serveur debian"
PRODUCTION1A192.168.1.109
webmasterA192.168.1.110
popCNAMEdebian
smtpCNAMEdebian
wwwCNAMEdebian
ldapCNAMEdebian
ficher db.somex.local.inv
$TTL604800 at INSOAdebian.somex.local.root.somex.local. (
20080410
604800
86400
2419200
604800 )
NSdebian.somex.local.
55PTRdebian.somex.local.
109PTRPRODUCTION1.somex.local.
110PTRwebmaster.somex.local.
More information about the bind-users
mailing list