You are not logged in.
Hi. I've set up a caching dns server with bind. It's available only from the local network and it's address is provided with dhcp (configured with dhcpd). The problem is that when dhcpd sets my dns address up and I'm trying to access a website (for. eg. google or any random site) I get "Unknown server address". But when I ping this site from my local server everything is fine and then I'm able to access the site from my computer. It's kinda weird because everything seems to be configured fine.
//
// /etc/named.conf
//
acl moja_siec {127.0.0.1/8; 192.168.0.0/24;};
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
auth-nxdomain no;
datasize default;
allow-recursion { 127.0.0.1; };
// forwarders { 208.164.186.1; 208.164.186.2; };
// Uncomment these to enable IPv6 connections support
// IPv4 will still work
listen-on { any; };
// listen-on-v6 { any; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-query { moja_siec;};
allow-transfer { any; };
notify yes;
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
allow-update { none; };
allow-query { moja_siec;};
allow-transfer { any; };
notify yes;
};
zone "." IN {
type forward;
forward only;
forwarders { 193.110.121.20; 194.204.159.1; 194.204.152.34; };
// file "root.hint";
};
// type slave;
// file "example.zone";
// masters {
// 192.168.1.100;
// };
// allow-query { any; };
// allow-transfer { any; };
//};Can anyone tell me what's going on???
Offline
Try dnsmasq, it's light, fast and easy to configure
IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686
Offline
But can I use dnsmasq only as caching server (without dhcp)???????
Offline
Try dnsmasq, it's light, fast and easy to configure
Seconded. Works a treat installed on the Arch server for our cybercafé network (mixed windows & linux pcs).
Offline
But can I use dnsmasq only as caching server (without dhcp)???????
yes
Offline
Thank You very much. Dnsmasq works like a charm and configuration is very very easy.Perfect dns server for small networks.
Offline