I have configured BIND and after that I started it.
Then in syslog I found erroes:
Code:
Nov 7 23:30:07 my_server named[21245]: dns_master_load: test.com:12: test.com.test.com: not at top of zone
Nov 7 23:30:07 my_server named[21245]: zone test.com/IN: loading master file test.com: not at top of zone
Im attaching here my config files.
Let say that my domain is test.com and my IP is 144.67.67.1
named.conf
Code:
options {
directory "/var/named";
query-source address * port 53;
};
logging{
category lame-servers{
null;
};
};
zone "." IN {
type hint;
file "named.cache";
};
zone "test.com" {
type master;
file "test.com";
allow-update { none; };
allow-transfer { 144.67.67.2; };
notify yes;
};
test.com
Code:
$TTL 86400
$ORIGIN test.com
@ IN SOA test.com. postmaster.test.com. (
2005110704 ; serial (d. adams)
8640 ; refresh
3600 ; retry
3600000 ; expiry
1209600 ) ; min
IN NS ns1.test.com
IN NS ns2.test.com
IN MX 10 test.com
@ IN A 144.67.67.1
www IN A 144.67.67.1
ns1 IN A 144.67.67.1
ns2 IN A 144.67.67.1
ftp IN A 144.67.67.1
komp1 IN A 10.3.11.21
Is this true that any space between words and numbers in test.com file should be separated by TABS ?
Cant even ping local machine by name:
komp1 IN A 10.3.11.21
Please help me with that problem - it is 1st time i configure BIND.