Samba Dynamic DNS DHCP , client won't register

Robert Becskei brobiwbe at stcable.co.yu
Sat Apr 9 16:19:44 GMT 2005


Sorry
the configs were displayed wrong, I've attached them instead

> 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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db.1.168.192
Type: application/octet-stream
Size: 352 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050409/3aa8bed8/db.1.168.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db.topolauniverzal
Type: application/octet-stream
Size: 749 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050409/3aa8bed8/db.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcpd.conf
Type: application/octet-stream
Size: 490 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050409/3aa8bed8/dhcpd.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcpd.master
Type: application/octet-stream
Size: 10247 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050409/3aa8bed8/dhcpd-0001.obj


More information about the samba-technical mailing list