Własny DNS - konfiguracja binda9
: 24 sierpnia 2012, 16:08
Witam.
Mam problem z konfiguracją serwera DNS Bind9.
Pliki konfiguracyjne:
/var/lib/bind/hfyou.eu.hosts
/etc/bind/named.conf.local
Z góry dziękuję za pomoc.
Mam problem z konfiguracją serwera DNS Bind9.
Pliki konfiguracyjne:
/var/lib/bind/hfyou.eu.hosts
Kod: Zaznacz cały
$ttl 38400
@ IN SOA hfyou.eu. root.hfyou.eu. (
1345801546
10800
3600
604800
38400 )
@ IN NS hfyou.eu.
www.hfyou.eu. IN A 195.117.191.125
ftp.hfyou.eu. IN A 195.117.191.125
m.hfyou.eu. IN A 195.117.191.125
localhost.hfyou.eu. IN A 127.0.0.1
webmail.hfyou.eu. IN A 195.117.191.125
admin.hfyou.eu. IN A 195.117.191.125
mail.hfyou.eu. IN A 195.117.191.125
hfyou.eu. IN MX 5 mail.hfyou.eu.
hfyou.eu. IN TXT "v=spf1 a mx a:hfyou.eu ip4:195.117.191.125 ?all"
hfyou.eu. IN NS ns1
hfyou.eu. IN NS ns2
ns1.hfyou.eu. IN A 195.117.191.125
ns2.hfyou.eu. IN A 195.117.191.125
/etc/bind/named.conf.local
Kod: Zaznacz cały
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "hfyou.eu" {
type master;
file "/var/lib/bind/hfyou.eu.hosts";
allow-transfer {
127.0.0.1; localnets; 79.98.145.34; 195.80.237.194;
};
};