hi
i'm running ubuntu 11.04 on vmware , have troubles in configuring dns server when try nslookup command have error
root@ubuntu:/etc/bind# nslookup hamza
server: 192.168.20.3
address: 192.168.20.3#53
** server can't find hamza: nxdomain
i've disabled dhcp on vmware , i've set static ip address on /etc/network/interfaces file , here configuration files
named.conf.local file
zone "mendari.lan" {
type master;
file "/etc/bind/db.mendari.lan";
forwarders{};
};
zone "20.168.192.in-addr.arpa" {
type master;
file "/etc/bind/rev.20.168.192.in-addr.arpa";
forwarders{};
};
forword lookup zone file
$ttl 3d
@ in soa hamza.mendari.lan. admin.mendari.lan. (
2011061001;
28800;
3600;
604800;
38400
);
mendari.lan. in ns hamza.mendari.lan.
hamza in 192.168.20.3.
reverse lookup zone file
@ in soa hamza.mendari.lan. admin.mendari.lan.
2011061001
28800;
604800;
604800;
86400
);
in ns hamza.mendari.lan.
3 in ptr hamza.mendari.lan.
1 in ptr gw.mendari.lan.
resolv.conf file
nameserver 192.168.20.3
search mendari.lan.
regards.
any 1 ???
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Need help on bind9 configuration
Ubuntu
Comments
Post a Comment