Thread: Bind9 configuration - failed to start - dns/ddns
hi.
i'm trying set dns , ddns service on linux box 10.10 ubuntu.
this have:
- static ip address 85.113.xx.xx
- local ip's 192.168.1.50 - 200
- installed bind 9
- installed dhcp3
- installed gadmin-bind tool
goal offer "free" dns , ddns service our costumers.
i'ts not much. it's around 40 users.
--------------------------------------------------------------------------------
problems:
when restart bind service error.
p { margin-bottom: 0.08in; } * stopping domain name service... bind9 rndc: connection remote host closed
this may indicate
* remote server using older version of command protocol,
* host not authorized connect,
* clocks not synchronized, or
* key invalid. [ ok ]
* starting domain name service... bind9 [ fail ]
this named.conf:
p { margin-bottom: 0.08in; } named.conf
// primary configuration file bind dns server named.
//
// please read /usr/share/doc/bind9/readme.debian.gz information on
// structure of bind configuration files in debian, *before* customize
// configuration file.
//
// if adding zones, please in /etc/bind/named.conf.local
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
my named.conf.options
p { margin-bottom: 0.08in; } named.conf.options
//----------------------
options {
directory "/var/cache/bind";
// if there firewall between , nameservers want
// talk to, may need fix firewall allow multiple
// ports talk. see http://www.kb.cert.org/vuls/id/800113
// if isp provided 1 or more ip addresses stable
// nameservers, want use them forwarders.
// uncomment following block, , insert addresses replacing
// all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
auth-nxdomain no; # conform rfc1035
listen-on-v6 { any; };
};
forwarders {
# replace address below address of provider’s dns server
8.8.8.8;
};what wrong configuration ?my example.com.db
p { margin-bottom: 0.08in; }
//------------------
// replace example.com domain name.
example.com. in soa ns1.example.com. admin.example.com.
(
// not modify following lines!
2007031001
28800
3600
604800
38400
)
// replace following line necessary:
// ns1 = dns server name
// mail = mail server name
// example.com = domain name
example.com. in ns ns1.example.com.
example.com. in mx 10 mail.example.com.
// replace ip address right ip addresses.
www in 192.168.1.120
mta in 192.168.1.121
ns1 in 192.168.1.122
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Bind9 configuration - failed to start - dns/ddns
Ubuntu
Comments
Post a Comment