[Samba] DNS returns a wrong ip address
peter.boos at quest-innovations.com
Tue Mar 30 13:55:46 UTC 2021
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)
> 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
> > If I ping a certain client a testing system it does return on a wrong IP
> (and then fails ping).
> > The returned IP is 192.168.99.21 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 '192.168.99.21' 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 ?
More information about the samba