[Samba] DNS returns a wrong ip address

Christopher Wensink cwensink at five-star-plastics.com
Tue Mar 30 14:18:55 UTC 2021

+1 for the guest PC scenario.   I have had this before, when one machine 
has virtualbox installed, and then the software installs a virtual NIC 
on it's own private network that does not follow the same scheme as the 
rest of the LAN.

You can try using Angry IP scanner to scan all hosts in a given IP range 
to get the mac address if it's not already in your ARP table, then do a 
mac address search on the switches to determine what port it was found 
on, then trace that back to the Patch cable to get it's physical location.


On 3/30/2021 9:11 AM, L.P.H. van Belle via samba wrote:
> This might be a "guest" pc with the static ip configured.
> Often these are laptops where one interface holded the ip from its "powersafe/hibernation" state.
> Disable that.. if you want problems, use powersafe/hibernations functions from windows 10..  but thats my advice..
> Doesnt : arp -a show it's mac adres?
> then you can find at least the brand maker.
> And should not be needed to change the format of the mails,
> But text emails "is" the RFC standard, html is not. ;-)
> Greetz,
> Louis
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Peter Boos via
>> samba
>> Verzonden: dinsdag 30 maart 2021 15:56
>> Aan: Rowland penny
>> CC: samba at lists.samba.org
>> Onderwerp: Re: [Samba] DNS returns a wrong ip address
>> Well its actually a Rasberpi that is involved in presenting some debugging
>> test online.
>> We also don't set connections to register in DNS.
>> I went trough all our zones, listing all IP's (one can sort based upon IP,
>> to quickly find something)
>> But it did not reveal any host containing this IP number.
>> And yes I'm aware the Windows internet naming system, WINS is not DNS, a
>> great relief :))
>> I just wanted to be sure to it wasn't a wrong cashed wins result. (despite
>> DNS wins lookup is disabled as well)
>> Just for the record neither it is a hosts file entry on the DNS server.
>> So I do not know where this IP number comes from, despite that DNS hands
>> it out.
>> PS I always switch to text based email for emails to this forum.
>> Is that needed ?  we're normally using webmail format, (kopano)
>> -----Original message-----
>>> From: Rowland penny <rpenny at samba.org>
>>> Sent: Tuesday 30th March 2021 11:01
>>> To: samba at lists.samba.org
>>> Subject: Re: [Samba] DNS returns a wrong ip address
>>> On 30/03/2021 09:15, Peter Boos via samba wrote:
>>>> We got two samba DC's with DNS, managed by a windows system with admin
>> tools
>>> installed.
>>>> If I ping a certain client a testing system it does return on a wrong
>> IP
>>> (and then fails ping).
>>>> The returned IP is while we use a 172.x.x.x network
>>>> It returns a dual host reply but 192 first 172 next, I checked both
>> DNS
>>> systems from Windows side.
>>>> Also NSlookup on Linux
>>>> The entry is not visible on the windows system with admin tools.
>>>> Even when I removed the proper available entry, a nslookup resulted in
>> an
>>> wrong answer.
>>>> When I tried a wins lookup nmblookup it cannot resolve it either, so I
>> don't
>>> know where it comes from.
>>>> There are no other DNS's servers involved then just the two we have.
>>>> Like its not a forward lookup result on pfsense or so, we don't do DNS
>> there.
>>>> Just for the record; the samba systems are headless systems.
>>>> Any ideas on how to resolve this DNS conflict?
>>> First, 'wins' != 'dns', so forget nmblookup, just use dns tools.
>>> If you have '' in AD, then something is putting it there
>>> and as only Windows machines do this by default, it is very probably a
>>> Windows machine. It sounds like you know which machine this is, so does
>>> it have two network devices ? If it does, can you remove one ?
>>> Rowland
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba

Christopher Wensink
IS Administrator
Five Star Plastics, Inc
1339 Continental Drive
Eau Claire, WI 54701
Office:  715-831-1682
Mobile:  715-563-3112
Fax:  715-831-6075
cwensink at five-star-plastics.com

More information about the samba mailing list