Hello,
I have changed some settings on my DNS / DHCP config under Debian Lenny, and now when i try to ping some box it only works with long names. For example:
ping borsti doesn´t work (can not find host) but if i use ping borsti.borsti.iss it works. I have no idea why it doesn´t work because i only modified the dnssec-key (created a new key) and nothing else in te config Here is the config i used for bind: (taken from named.conf.options and named.conf.local)
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See
http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forward only;
listen-on { localhost;
};
forwarders {
195.34.133.21;
195.34.133.22;
};
allow-query { 192.168.0.0/24; localhost; };
allow-recursion { 192.168.0.0/24; localhost; };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
notify no;
};
controls {
inet 127.0.0.1 port 953
allow { 192.168.0.1; 127.0.0.1; } keys { DHCP; };
};
key DHCP {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret
};
zone "borsti.iss" {
type master;
file "/var/cache/bind/db.borsti.iss";
allow-query { 192.168.0.0/24; };
notify yes;
allow-update { key DHCP; };
};
zone 0.168.192.in-addr.arpa {
type master;
file "/var/cache/bind/db.192.168.0";
allow-query { 192.168.0.0/24; };
notify yes;
allow-update { key DHCP; };
};
and here is my dhcpd.conf:
ddns-update-style interim;
# option definitions common to all supported networks...
option domain-name "borst.iss";
option domain-name-servers 192.168.0.1;
option ntp-servers 192.168.0.1;
default-lease-time 7200;
max-lease-time 14400;
key DHCP {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret
};
authoritative;
log-facility local7;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.4 192.168.0.30;
ddns-domainname "borsti.ISS";
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
}
zone borsti.iss {
primary 192.168.0.1;
key DHCP;
}
zone 0.168.192.in-addr.arpa. {
primary 192.168.0.1;
key DHCP;
}
host borsti {
hardware ethernet 00:15:f2:78:0c:46;
fixed-address 192.168.0.122;
}
Thanks for any ideas/hints !
tz