[Samba] DNS returns a wrong ip address
Rowland penny
rpenny at samba.org
Fri Apr 2 12:36:12 UTC 2021
On 02/04/2021 13:25, Peter Boos wrote:
> Rasber output:~ $ ip a
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
> link/ether b8:27:eb:8f:7e:56 brd ff:ff:ff:ff:ff:ff
> 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
> link/ether b8:27:eb:da:2b:03 brd ff:ff:ff:ff:ff:ff
> inet 172.16.5.0/21 brd 172.16.7.255 scope global wlan0
> valid_lft forever preferred_lft forever
> inet6 fe80::7eee:60a6:82a:f3d9/64 scope link
> valid_lft forever preferred_lft forever
>
>
> The IP is not mentioned on the rasberiPi, is there a (console headless) way to remove the wrong ip in Samba's internal DNS ?
Yes, have a look at 'samba-tool dns --help'
I ended up removing dhcpcd5, never really seen the point of that
particular package, but there must be a reason for it 😁
Rowland
More information about the samba
mailing list