Dhcpd imi face dynamic DNS la statiile pe care nu le-am bagat declaratii
host {}. Ia uitati:
lease 192.168.0.169 {
starts 2 2004/01/20 07:24:17;
ends 2 2004/01/20 13:24:17;
tstp 2 2004/01/20 13:24:17;
binding state active;
next binding state free;
hardware ethernet 00:0a:e6:2f:9c:5f;
uid "\001\000\012\346/\234_";
set ddns-rev-name = "169.0.168.192.in-addr.arpa.";
set ddns-txt = "3118548e1b2937f7c033c0812d891e8655";
set ddns-fwd-name = "XP.metalurgia.decknet.ro.";
client-hostname "XP";
}
Si acum pentru una cu host:
host { ethernet address blablabla; }
lease 192.168.0.3 {
starts 2 2004/01/20 08:10:27;
ends 2 2004/01/20 14:10:27;
binding state active;
next binding state free;
hardware ethernet 00:06:4f:01:62:2b;
}
De ce naiba face asta, ca am pierdut toata dimineatza pe prostia asta?
(am atasat dhcpd.conf, pe care l-am modificat azi de citeva zeci de
ori, ca am ajuns sa fac backtracking cu toate combinatiile)
--
Ce nu te omoara ti-o intareste.
-- Attached file included as plaintext by Ecartis --
-- File: dhcpd.conf
ddns-update-style interim;
# default gateway
option routers 192.168.0.254;
option subnet-mask 255.255.255.0;
option domain-name "metalurgia.decknet.ro";
option domain-name-servers 192.168.0.254;
option netbios-name-servers 192.168.0.254;
option netbios-dd-server 192.168.0.254;
option netbios-node-type 2;
option smtp-server 192.168.0.254;
option pop-server 192.168.0.254;
option ip-forwarding off;
default-lease-time 21600;
max-lease-time 43200;
#pt. bind
use-host-decl-names on;
one-lease-per-client true;
ddns-updates on;
ddns-domainname "metalurgia.decknet.ro.";
ddns-rev-domainname "in-addr.arpa.";
ddns-hostname = pick-first-value(option host-name, ddns-hostname);
ignore client-updates;
key "mykey" {
algorithm hmac-md5;
secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};
zone metalurgia.decknet.ro {
primary 127.0.0.1;
key "mykey";
}
zone 0.168.192.in-addr.arpa {
primary 127.0.0.1;
key "mykey";
}
subnet 192.168.0.0 netmask 255.255.255.0 {
authoritative;
pool {
range 192.168.0.2 192.168.0.50;
deny unknown-clients;
}
pool {
range 192.168.0.128 192.168.0.191;
}
}
group {
host ionut {
hardware ethernet 00:06:4F:01:62:2A;
fixed-address 192.168.0.2;
}
host costi {
hardware ethernet 00:06:4F:01:62:2B;
# fixed-address 192.168.0.3;
}
host sammo {
hardware ethernet 0:C:76:42:C3:40;
fixed-address 192.168.0.4;
}
host bogdan {
hardware ethernet 00:06:4F:01:62:29;
fixed-address 192.168.0.5;
}
#tao - i2b sc1
#ethernet vendor: KYE SYSTEMS CORP.
host tao {
hardware ethernet 0:c0:df:f0:9a:b9;
fixed-address 192.168.0.13;
}
host black {
hardware ethernet 00:E0:29:62:C1:E4;
fixed-address 192.168.0.7;
}
# Romi - Bl. I2C, Sc2, Et6
# Host vendor: 3COM CORPORATION
host romi {
hardware ethernet 00:50:DA:49:E0:3B;
fixed-address 192.168.0.10;
}
# Sireaev - Bl. I2C, Sc2, Et2
# Host vendor: unknown
host yakuza {
hardware ethernet 00:0A:E6:C3:C8:3A;
fixed-address 192.168.0.11;
}
#Taina Catalin - Bl.I2C, Sc.1, Et.6, Ap.24
# Host vendor: Cameo Comunications
host catalin {
#hardware ethernet 00:40:F4:88:2A:69;
# Bay Networks
hardware ethernet 0:0:81:30:2:0;
fixed-address 192.168.0.12;
}
# Stanciulescu Simona- Bl. I2B, Sc2, et2, ap 44
# host vendor
host simona {
hardware ethernet 00:0C:6E:58:AD:61;
fixed-address 192.168.0.14;
}
# Otioc Alex.
# ethernet vendor: CAMEO COMMUNICATIONS, INC.
host alex {
hardware ethernet 0:40:f4:88:2e:a1;
fixed-address 192.168.0.15;
}
# Dragos Danita: r13, et5, ap 52
# ethernet vendor: PRO-NETS Technology Corporation
host dragos {
hardware ethernet 0:6:4f:9:cb:9c;
#hardware ethernet 0:e0:7d:75:1f:84;
fixed-address 192.168.0.16;
}
# Cosmin V.: r13, et5, ap 24
#
host cosmin {
hardware ethernet 00:E0:7D:75:1F:84;
fixed-address 192.168.0.17;
}
# R13, et 9, este switchul
#
host petruta {
hardware ethernet 0:50:fc:e7:15:a6;
fixed-address 192.168.0.8;
}
# I2C, et 7
# andrei, baiatul de 6 ani al
# lui Katy
host andrei {
hardware ethernet 0:e:a6:1:cc:1e;
fixed-address 192.168.0.6;
}
# Marga & sebi (clasa a sasea)
# R13, et 1
host sebi {
hardware ethernet 0:2:44:7c:8d:ec;
fixed-address 192.168.0.9;
}
#
# R14
#
# ethernet vendor: SUREMAN COMP. & COMMUN. CORP
host irina {
hardware ethernet 0:0:21:69:35:cf;
fixed-address 192.168.0.18;
}
# ethernet vendor: <unknown>
host bac {
hardware ethernet 2:50:bf:38:a1:ff;
fixed-address 192.168.0.19;
}
# ethernet vendor: <unknown>
host vali {
hardware ethernet 0:c:6e:e5:ce:54;
fixed-address 192.168.0.20;
}
# ethernet vendor: EDIMAX TECHNOLOGY CO., LTD.
host erol {
hardware ethernet 0:50:fc:1a:6e:ae;
fixed-address 192.168.0.21;
}
# ethernet vendor: WESTERN DIGITAL CORPORATION
host pasare {
hardware ethernet 0:0:c0:32:29:e0;
fixed-address 192.168.0.22;
}
# ethernet vendor: SURECOM Technology Co.
host gascanii {
hardware ethernet 0:2:44:52:83:b4;
fixed-address 192.168.0.23;
}
# ethernet vendor: R.P.T. INTERGROUPS INT'L LTD.
host alexok {
hardware ethernet 0:40:95:30:f:f3;
fixed-address 192.168.0.24;
}
# ethernet vendor: INTEL CORPORATION - HF1-06
host mariana {
hardware ethernet 0:a0:c9:28:16:98;
fixed-address 192.168.0.25;
}
# ethernet vendor: XEROX CORPORATION
host cristian {
hardware ethernet 0:0:0:20:64:28;
fixed-address 192.168.0.26;
}
# ethernet vendor: MOTOTECH INC.
host george {
hardware ethernet 0:50:bf:e:ff:ca;
fixed-address 192.168.0.27;
}
# ethernet vendor: INTEL CORPORATION - HF1-06
host vlad {
hardware ethernet 0:a0:c9:17:3b:a1;
fixed-address 192.168.0.28;
}
#victorash - i2b sc1 - a iesit din retea
#host bunicu {
# hardware ethernet 00:02:44:36:D4:86;
# fixed-address 192.168.0.13;
#}
#scos din retea pe motiv de hacking
#host ralex {
# hardware ethernet 00:0A:E6:12:D5:6B;
# fixed-address 192.168.0.100;
#}
}
---
Detalii despre listele noastre de mail: http://www.lug.ro/