I
I
Ivan2016-07-19 12:14:32
Computer networks
Ivan, 2016-07-19 12:14:32

Why is DNS picking the wrong IP?

Good afternoon.
There is a DNS server, it has two A records for the SERVER1 server - 192.168.1.10 and 10.0.0.10
There is a client computer on the 192.168.1.0/24 network, it receives ip via DHCP.
For some reason, sometimes it selects a DNS record from another network, 10.0.0.10, which is not available to it. As far as I know, should choose from the subnet in which it is located, or am I wrong?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
Sergey Galaktionov, 2016-07-19
@Amigo83

Colleagues, smoke manuals about DNS Round Robin and Netmask Ordering

M
Maxim Zabelin, 2016-07-19
@stecker

And what for you through DHCP give inaccessible from this DNS network? SSZB.

A
Alexander Lebedev, 2016-07-19
@zymanch

no, you're wrong.
For example, Microsoft DNS will give both records to the client on the first call, the client will have to select the first one and work with it, but on a second call, DNS will already give the second record to the client.
The behavior of other DNS servers (eg -- Bind) may differ.
In any case, DNS will not look at the client IP.

L
Lindon_cano, 2016-07-19
@Lindon_cano

You know wrong. DNS randomly gives one of the records, if you have two Ashes for the name and it owes you nothing more, DNS does not know how routing is configured on your network.

Y
Yuri Chudnovsky, 2016-07-19
@Frankenstine

sshd.su/pages/viewpage.action?pageId=5210143

V
Vladimir, 2016-07-19
@Casufi

The client computer is also a client computer, that it does not choose anything, but uses what is given to it.
Where is it defined that the client computer should not see the 10.0.0.0 subnet? If two computers are connected to the same interface and they receive an IP from the 10.0.0.0 subnet, then they will completely see each other.
First, think about the network configuration and formalize the rules "another network that is not available to him.", Then ask the right questions here, then configure DHCP normally and you will be happy

I
Ivan, 2016-07-19
@Amigo83

If the request comes from the 10th network (the DNS server has two interfaces), then the first one returns the 10th IP, and if the request is from the 192nd, then the first one, respectively, from 192.
It seems I understood if for some reason I did not reach the first IP - uses the second, and because of this troubles.
With uninterrupted operation, this circuit should work normally.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question