Robert Becskei
2005-Apr-09 15:38 UTC
[Samba] Samba Dynamic DNS DHCP , client won't register
Hi everyone, just created a Dynamic DNS DHCP server, but my client info-2000256 wont register, or atleast It says registering with dns server but I'm not able to ping it by, info-2000256.domainname.co.yu , my configs are as follows : named.conf // generated by named-bootconf.pl #---------------------------------- # Capriolo #---------------------------------- acl capriolo { 192.168.0.0/24; 127.0.0.1; }; #---------------------------------- # Topola Univerzal #---------------------------------- acl univerzal { 192.168.1.0/24; 127.0.0.1; }; #---------------------------------- # Alstar #---------------------------------- acl alstar { 192.168.2.0/24; 127.0.0.1; }; #---------------------------------- # Options #---------------------------------- options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; listen-on-v6 { any; }; notify no; forward only; forwarders { 62.108.117.6; }; auth-nxdomain yes; listen-on { capriolo; univerzal; alstar; }; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { type hint; file "named.ca"; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; #------------------------------------------- # www.helpserver.vir #------------------------------------------- zone "helpserver.vir" { type master; file "/var/named/helpserver.vir/db.helpserver"; allow-query { univerzal; alstar; capriolo; }; }; zone "168.192.in-addr.arpa" { type master; file "/var/named/helpserver.vir/db.168.192"; allow-query { univerzal; alstar; capriolo; }; }; #------------------------------------------- # www.topolauniverzal.co.yu #------------------------------------------- zone "topolauniverzal.co.yu" { type master; file "/var/named/domainname.co.yu/db.domainname"; allow-query { univerzal; }; allow-transfer { univerzal; }; allow-update { univerzal; }; }; zone "1.168.192.in-addr.arpa" { type master; file "/var/named/domainname.co.yu/db.1.168.192"; allow-query { univerzal; }; allow-transfer { univerzal; }; allow-update { univerzal; }; }; include "/etc/rndc.key"; -------------------------------------------------------------------------------- db.domainame -------------------------------------------------------------------------------- ; ; BIND data file for helpserver domain ; $TTL 86400 @ IN SOA saruman.domainame.co.yu. root.saruman.domainname.co.yu. ( 2005040901 ; Serial 28800 ; Refresh 7200 ; Retry 604800 ; Expire 86400 ; Negative Cache ttl ) @ IN NS saruman.domainname.co.yu. ;-----------------------------------------------------------; saruman IN A 192.168.10.2 ; ;-----------------------------------------------------------; ; linux szerver ip cimek ; ;-----------------------------------------------------------; sam IN A 192.168.1.200 ; samba dhcp backuppc server ;-----------------------------------------------------------; ; vege. -------------------------------------------------------------- db.1.168.192 ------------------------------------------------------------- ; BIND data file for 192.168.1.x reverse DNS ; $TTL 86400 @ IN SOA saruman.domainname.co.yu. root.saruman.domainname.co.yu. ( 2005040901 ; Serial 28800 ; Refresh 7200 ; Retry 604800 ; Expire 86400 ; Negative Cache TTL ) ; @ IN NS saruman.domainname.co.yu. ; 200 IN PTR sam.domainname.co.yu. ;vege in dhcp.conf ddns-updates on; ddns-update-style ad-hoc; in dhcp.master shared-network topola { # # S U B N E T D E C L A R A T I O N # subnet 192.168.0.0 netmask 255.255.255.0 { default-lease-time 86400; max-lease-time 86400; option broadcast-address 192.168.0.255; option routers 192.168.0.250; option domain-name-servers 192.168.0.250; option netbios-name-servers 192.168.0.200; } subnet 192.168.1.0 netmask 255.255.255.0 { ddns-domainname "domainname.co.yu"; default-lease-time 86400; max-lease-time 86400; option broadcast-address 192.168.1.255; option routers 192.168.1.250; option domain-name-servers 192.168.1.250; option netbios-name-servers 192.168.1.200; } subnet 192.168.2.0 netmask 255.255.255.0 { default-lease-time 86400; max-lease-time 86400; option broadcast-address 192.168.2.255; option routers 192.168.2.250; option domain-name-servers 192.168.2.250; option netbios-name-servers 192.168.2.200; } I can ping www.helpserver.vir saruman.helpserver.vir sam.domainname.co.yu but info-2000256 wont register with domainname.co.yu I cant ping it via info-2000256.domainname.co.yu ,what did I do wrong here ? also once I got this thing working ok, I don't need wins anymore in a pure winxp win2000 win2003 (and 1 novell netware 5.x) enviroment ? Sincerely Robert B
Andrew Bartlett
2005-Apr-10 02:21 UTC
[Samba] Samba Dynamic DNS DHCP , client won't register
On Sat, 2005-04-09 at 17:38 +0200, Robert Becskei wrote:> Hi everyone, > > just created a Dynamic DNS DHCP server, but my client info-2000256 wont > register, or atleast It says registering with dns server > but I'm not able to ping it by, info-2000256.domainname.co.yu , my configs > are as follows :Most of that looked a little garbled - it's not a Samba question, but all I can do is suggest you read the DHCP manpage, and setup the correct keys between the name server and dhcpd. This is more secure than allowing any host to perform the update unsecured.> also once I got this thing working ok, I don't need wins anymore in a pure > winxp win2000 win2003 (and 1 novell netware 5.x) enviroment ?WINS is still required if you intend to host a PDC, as this performs an NT4 emulation. I suggest keeping WINS around in any case. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20050410/fefba6a6/attachment.bin