Salut,
am un server DNS la care daca dau ping la www.yahoo.com, imi returneaza:
ping www.yahoo.com
PING www.yahoo.akadns.net (216.109.118.64) 56(84) bytes of data.
64 bytes from p1.www.dcn.yahoo.com (216.109.118.64): icmp_seq=1 ttl=50
time=170 ms
64 bytes from p1.www.dcn.yahoo.com (216.109.118.64): icmp_seq=2 ttl=49
time=345 ms
Daca de la o masina din retea care face cereri DNS la acest server dau:
C:\>ping www.yahoo.com
Unknown host www.yahoo.com.
Deci pentru el isi resolva cererile, insa pentru reteaua 192.168.0.0 nu.
Nu am reguli in firewall care sa-m blocheze portul 53. La named resart
nu primesc nici o eroare.
cat /etc/named.conf
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
// Uncommenting this might help if you have to go through a
// firewall and things are not working out. But you probably
// need to talk to your firewall admin.
// query-source port 53;
};
controls {
inet 127.0.0.1 allow { 192.168.0.0; } keys { rndc_key; };
};
key "rndc_key" {
algorithm hmac-md5;
secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "pz/127.0.0";
notify yes;
allow-transfer {
81.10.11.200;
192.162.16.21;
193.230.3.4;
192.162.16.31;
192.168.0.1;
};
};
zone "urb.ro" {
type master;
notify yes;
file "pz/urb.ro";
allow-transfer {
81.10.11.200;
192.162.16.21;
193.230.3.4;
192.162.16.31;
192.168.0.1;
};
};
zone "151.180.81.in-addr.arpa"{
type master;
file "pz/81.180.151.100";
notify yes;
allow-transfer {
81.10.11.200;
192.162.16.21;
193.230.3.4;
192.162.16.31;
192.168.0.1;
};
};
Care sa fie cauza?
Multumesc!
---
Detalii despre listele noastre de mail: http://www.lug.ro/