Re: Smbd gethostbyaddr error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Glynn Clements wrote:
> 
> MONZ wrote:
> > [2000/12/05 13:56:40, 1] lib/util_sock.c:client_name(997)
> >   Gethostbyaddr failed for 192.168.1.10
> 
> This probably means that the 1.168.192.in-addr.arpa domain isn't
> configured correctly.

Could be you're right:
nslookup 1.168.192.in-addr.arpa
Server:  gw.onscreen.zzz
Address:  192.168.1.1
*** gw.onscreen.zzz can't find 1.168.192.in-addr.arpa: Server failed

An nslookup with ls -d 1.168.192.in-addr.arpa doesn't fail, though.

/var/named/onscreen.zzz/192.168.1 :
@               IN      SOA     ns.onscreen.zzz.       
root.onscreen.zzz. (
                        2000112202 ; serial
                        28800 ; refresh
                        14400 ; retry
                        3600000 ; expire
                        86400 ; default_ttl
                        )
                        NS      ns.onscreen.zzz.

1               IN      PTR     gw.onscreen.zzz.
2               IN      PTR     ns.onscreen.zzz.
3               IN      PTR     mail.onscreen.zzz.
4               IN      PTR     www.onscreen.zzz.
5               IN      PTR     scumbag.onscreen.zzz.

Snip from named.conf :
zone "1.168.192.IN-ADDR.ARPA"{
        type master;
        file "192.168.1";
        notify no;
};

But I fail to see where I've failed. Looks a lot like the ex. in
DNS-HOWTO.
I really ought to go and get Liu and Albitz bind book...
-- 
Regards,
              Mogens Valentin
    Networking - Security - Programming
  Linux configuration and troubleshooting
http://www.danbbs.dk/~monz - monz@danbbs.dk
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux