To run some virtual name-bases hostson my apache webserver, i want to
add some DNS A entries in my DNS server. I have the follwing
configuration:
========
named.conf:
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
forwarders {
10.0.0.137;
};
};
zone "obsdetrampoline.nl" {
type master;
file "/etc/obsdetrampoline.nl.hosts";
};
========
obsdetrampoline.nl.hosts:
obsdetrampoline.nl. IN SOA 10.0.0.1.
info.obsdetrampoline.nl. (
1124462130
10800
3600
604800
30M )
obsdetrampoline.nl. IN NS 10.0.0.1.
www.obsdetrampoline.nl. IN A 10.0.0.1
test.obsdetrampoline.nl. IN A 10.0.0.1
localhost.obsdetrampoline.nl. IN PTR 127.0.0.1
=======
resolv.conf:
search obsdetrampoline.nl
nameserver 10.0.0.137
========
if i do now:
nslookup test.obsdetrampoline.nl
Server: 10.0.0.137
Address: 10.0.0.137#53
** Server can't find test.obsdetrampoline.nl: NXDOMAIN
What is wrong in my configuration?
Kind regards,
Kees Schroijen