Witam,
Mam dosyć duży problem z konfiguracją serwerów DNS, a mianowicie chcę podpiąć domenkę pod mój serwer, jednakże w panelu OVH cały czas otrzymuje komunikat :
Plik named.conf wygląda tak :
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
// 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 "d******.pl" {
type master;
file "/etc/bind/******t.pl";
#allow-transfer {
# ***.***.***.111;
# ***.***.***.112;
#};
#notify yes;
};
ogólnie z tego co zauważyłem tylko drugiego IP nie chce przyjąć... Po otrzymaniu drugiego IP od dostawcy dodałem go w pliku interfaces w komendzie dns-nameservers oraz resolv.conf
Teraz plik domeny d******t.pl:
$TTL 86400
@ IN SOA ns1.d*****.pl. root.d*****.pl. (
2009020901
3600
3600
3600000
1209600
)
;
@ IN NS ns1.d*****.pl.
@ IN NS ns2.d*****.pl.
;
@ IN MX 10 mail.d*****.pl.pl.
;
@ IN A ***.***.***.111
www IN A ***.***.***.111
ns1 IN A ***.***.***.111
ns2 IN A ***.***.***.112
Jeśli chodzi o logi bind'a :
Dec 31 17:51:53 192 named[1986]: starting BIND 9.7.3 -u bind
Dec 31 17:51:53 192 named[1986]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS='
Dec 31 17:51:53 192 named[1986]: adjusted limit on open files from 1024 to 1048576
Dec 31 17:51:53 192 named[1986]: found 4 CPUs, using 4 worker threads
Dec 31 17:51:53 192 named[1986]: using up to 4096 sockets
Dec 31 17:51:53 192 named[1986]: loading configuration from '/etc/bind/named.conf'
Dec 31 17:51:53 192 named[1986]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Dec 31 17:51:53 192 named[1986]: using default UDP/IPv4 port range: [1024, 65535]
Dec 31 17:51:53 192 named[1986]: using default UDP/IPv6 port range: [1024, 65535]
Dec 31 17:51:53 192 named[1986]: listening on IPv4 interface lo, 127.0.0.1#53
Dec 31 17:51:53 192 named[1986]: could not listen on UDP socket: address in use
Dec 31 17:51:53 192 named[1986]: creating IPv4 interface lo failed; interface ignored
Dec 31 17:51:53 192 named[1986]: listening on IPv4 interface eth0, ***.***.***.111#53
Dec 31 17:51:53 192 named[1986]: could not listen on UDP socket: address in use
Dec 31 17:51:53 192 named[1986]: creating IPv4 interface eth0 failed; interface ignored
Dec 31 17:51:53 192 named[1986]: listening on IPv4 interface eth0, ***.***.***.111#53
Dec 31 17:51:53 192 named[1986]: could not listen on UDP socket: address in use
Dec 31 17:51:53 192 named[1986]: creating IPv4 interface eth0 failed; interface ignored
Dec 31 17:51:53 192 named[1986]: not listening on any interfaces
Dec 31 17:51:53 192 named[1986]: generating session key for dynamic DNS
Dec 31 17:51:53 192 named[1986]: set up managed keys zone for view _default, file 'managed-keys.bind'
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 254.169.IN-ADDR.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: D.F.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 8.E.F.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 9.E.F.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: A.E.F.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: B.E.F.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Dec 31 17:51:53 192 named[1986]: command channel listening on 127.0.0.1#953
Dec 31 17:51:53 192 named[1986]: command channel listening on ::1#953
Dec 31 17:51:53 192 named[1986]: additionally listening on IPv4 interface lo, 127.0.0.1#53
Dec 31 17:51:53 192 named[1986]: could not listen on UDP socket: address in use
Dec 31 17:51:53 192 named[1986]: creating IPv4 interface lo failed; interface ignored
Dec 31 17:51:53 192 named[1986]: additionally listening on IPv4 interface eth0, ***.***.***.111#53
Dec 31 17:51:53 192 named[1986]: could not listen on UDP socket: address in use
Dec 31 17:51:53 192 named[1986]: creating IPv4 interface eth0 failed; interface ignored
Dec 31 17:51:53 192 named[1986]: additionally listening on IPv4 interface eth0, ***.***.***.111#53
Dec 31 17:51:53 192 named[1986]: could not listen on UDP socket: address in use
Dec 31 17:51:53 192 named[1986]: creating IPv4 interface eth0 failed; interface ignored
Dec 31 17:51:53 192 named[1986]: zone 0.in-addr.arpa/IN: loaded serial 1
Dec 31 17:51:53 192 named[1986]: zone 127.in-addr.arpa/IN: loaded serial 1
Dec 31 17:51:53 192 named[1986]: zone 255.in-addr.arpa/IN: loaded serial 1
Dec 31 17:51:53 192 named[1986]: zone localhost/IN: loaded serial 2
Dec 31 17:51:53 192 named[1986]: /etc/bind/d******.pl:19: file does not end with newline
Dec 31 17:51:53 192 named[1986]: zone d******.pl/IN: d*******.pl/MX 'mail.d******.pl' has no address records (A or AAAA)
Dec 31 17:51:53 192 named[1986]: zone d*****.pl/IN: loaded serial 2009020901
Dec 31 17:51:53 192 named[1986]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
Dec 31 17:51:53 192 named[1986]: managed-keys-zone ./IN: loaded serial 0
Dec 31 17:51:53 192 named[1986]: running
Dec 31 17:51:53 192 named[1986]: zone d******.pl/IN: sending notifies (serial 2009020901)
Z góry bardzo dziękuje za pomoc !