It gets its local dynamic IP correctly assigned by dhcp from the windows server 2008r2. Also, the dns server is assigned correctly (can ping anything inside and outside my local network).
But i cannot ping the raspberry using "raspberry" or "raspberry.xxx.local". Looking into the windows servers dns management, there is not entry for the raspberry in the forward lookup zones.
What am i missing? Im interested in a "plain" solution, if possible without samba or else. Just want the rapsberry to register to the windows dns with its hostname.
Update I (followed the hints from RalfFriedl):
pi@raspberrypi:~ $ nsupdate
> update add raspberrypi.abcb.local 600 a 192.168.12.103
> send
couldn't get address for 'takamaka.abcb.local': not found
pi@raspberrypi:~ $ nslookup takamaka.abcb.local
Server: 192.168.12.10
Address: 192.168.12.10#53
Name: takamaka.abcb.local
Address: 192.168.12.10
Why can't nsupdate
resolve the DNS server IP, but nslookup
and host
do fine! ping
doesn't resolve, too. The dhcp leases:
lease {
interface "wlan0";
fixed-address 192.168.12.103;
option subnet-mask 255.255.255.0;
option routers 192.168.12.1;
option dhcp-lease-time 691200;
option dhcp-message-type 5;
option domain-name-servers 192.168.12.10;
option dhcp-server-identifier 192.168.12.10;
option dhcp-renewal-time 345600;
option ntp-servers 185.13.148.109,176.9.40.142;
option dhcp-rebinding-time 604800;
option domain-name "abcb.local";
renew 6 2019/02/09 14:18:17;
rebind 2 2019/02/12 23:39:05;
expire 3 2019/02/13 23:39:05;
}
raspberrypi
BTW: the same is true for the Pi: it's not a Raspberry but a Raspberry Pi. Also never seen 'hostname.xxx.local` I would expecthostname
and/orhostname.local
to work. The machine you're using this from needs to have avahi/zeroconf/bonjour installed for the .local version to work. – Dirk Feb 5 '19 at 18:33raspberrypi
. Butraspberrypi.localdomain.local
is usual for local / active directory domains. As mentioned, i want a "plain" solutions. So avahi/zeroconf/bonjour is not what im looking for, rather what @RalfFriedl suggested below. – JKB Feb 6 '19 at 19:52