[Samba] Samba generating wrong ipv6 and ipv4 address

Patrik alabard at gmail.com
Sat Aug 3 01:54:40 UTC 2019


Hey!

How are you?

I have two interfaces (192.168.78.20 /
*2001:470:1f1b:5b3:21b:21ff:fea6:ce93* and 192.168.81.20 /
*2001:470:1f1b:5b5:21b:21ff:fea6:ce92*)
I have interfaces disabled i mean that i bind on everything on samba
ac-dc...
What here is what is weird, (via bind9 DLZ i am using it and is working),
but on my clients i am getting some weird ipv6 addresses:
patrikx3 at bitang:~$ ping p3x-dc.patrikx3.com
PING p3x-dc.patrikx3.com(2001:470:1f1b:5b3:9ade:d0ff:fe04:23c3
(2001:470:1f1b:5b3:9ade:d0ff:fe04:23c3)) 56 data bytes
>From 2001:470:1f1b:5b3::1 (2001:470:1f1b:5b3::1) icmp_seq=1 Destination
unreachable: Address unreachable
>From 2001:470:1f1b:5b3::1 (2001:470:1f1b:5b3::1) icmp_seq=2 Destination
unreachable: Address unreachable
>From 2001:470:1f1b:5b3::1 (2001:470:1f1b:5b3::1) icmp_seq=3 Destination
unreachable: Address unreachable
>From 2001:470:1f1b:5b3::1 (2001:470:1f1b:5b3::1) icmp_seq=4 Destination
unreachable: Address unreachable
^C
--- p3x-dc.patrikx3.com ping statistics ---
7 packets transmitted, 0 received, +4 errors, 100% packet loss, time 6110ms
When i lookup:
patrikx3 at bitang:~$ nslookup p3x-dc.patrikx3.com
Server: 127.0.0.53
Address: 127.0.0.53#53

Non-authoritative answer:
Name: p3x-dc.patrikx3.com
Address: *192.168.81.120 - there is no client at this ip address*
Name: p3x-dc.patrikx3.com
Address: 192.168.78.20
Name: p3x-dc.patrikx3.com
Address: 2001:470:1f1b:5b5:eeaa:a0ff:fe1b:4d84
Name: p3x-dc.patrikx3.com
Address:* 2001:470:1f1b:5b3:9ade:d0ff:fe04:23c3** - there is no client at
this ip address*
As you can see, it should be in the nslookup (192.168.78.20 /
*2001:470:1f1b:5b3:21b:21ff:fea6:ce93* and 192.168.81.20 /
*2001:470:1f1b:5b5:21b:21ff:fea6:ce92*),
but the 192.168.81.0/24 subnet is giving (there is no clients on this), but
it gives these two that i have no idea where samba binds:
*192.168.81.120 and **2001:470:1f1b:5b3:9ade:d0ff:fe04:23c3*
Even when i set up on smb.conf to set only:
bind interfaces only = Yes
interfaces = lo 192.168.78.20 2001:470:1f1b:5b3:21b:21ff:fea6:ce93
192.168.81.20 2001:470:1f1b:5b5:21b:21ff:fea6:ce92

Even after this it generates this p3x-dc.patrikx3.com domain ip address to
this unknown ip addresses (*192.168.81.120 and *
*2001:470:1f1b:5b3:9ade:d0ff:fe04:23c3*)

How come this is possible?
Please help!
Thank you so much!



*Patrik*
WWW <https://patrikx3.com> | GitHub <https://github.com/patrikx3/> | NPM
<https://www.npmjs.com/~patrikx3> | Corifeus <https://corifeus.com> | +36
20 342 8046


More information about the samba mailing list