Understanding DNS Server IP Addresses

Asked 2 years ago, Updated 2 years ago, 90 views

After doing a lot of research around the network, I came up with some questions about how IP addressing works.

■How I came to question
①PS4 is not connected to WiMAX (can be connected, but not due to DNS server error), so I set it up with reference to the following site.
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q14200321324

無事 Although it was connected successfully, I was wondering why adding 1 to the end became a secondary DNS, so I started to investigate the DNS server.
I learned that there are many things like Google's public DNS, and that I can change my DNS server.(I don't know if you understand...)
However, I remembered that the DNS server I checked in で was a private IP (the same number as the gateway), so I couldn't understand the DNS server of the local IP even more.

使ってWhen I entered the management screen of my mobile router, I thought I would check if the DNS server that I can see there is the same as the one set in で
However, both primary and secondary DNS numbers were completely different.(It wasn't a private IP)

■Title
I wonder why the IP address I saw on my smartphone is different from the IP address I saw on my router's management screen.

[1] As a precondition, may I understand that the mobile router communicates using the DNS server that I checked in /?

If [2] [1] is correct, who is the IP of DNS confirmed on the smartphone of の?It only looks like that on the local network, but do you actually use the primary DNS that I checked in で?

[3] Who is the IP of the secondary DNS set in で?(Why add 1 to the end becomes a secondary DNS)

Thank you for your cooperation.

network dns

2022-09-30 14:51

2 Answers

Perhaps the IP address of the smartphone you saw is the 4G address, not the smartphone itself and DNS.That's probably why it's different from what you see on the mobile router.

A1.Yes
A2. Above
A3. That commentary is a big lie or a good one.

Most Internet connection contracts provide two or more DNS servers for your ISP.One is called the primary DNS server and the other is called the secondary DNS server.Also, when DHCP provides the global IP address of the router, it usually provides the IP address of the ISP's DNS server as well.

Therefore, for multiple ISPs, if the primary DNS server IP address is xxx.yyy.zzz.123, the secondary DNS server IP address is often xxx.yyyy.zzz.124 (in short, +1), so the linked Q&A terminates +1.However, there are no such rules or practices, so it is quite common that the IP address of the secondary DNS server is not +1.

If the IP address of the secondary DNS server is xxx.yyy.zzz.234, the +1 configuration is incorrect, but almost all smartphones (and PCs) use the secondary DNS server only when the primary DNS server fails.

DNS settings recommended when connecting a smartphone to a mobile router

Isn't it troublesome to set it up manually?


2022-09-30 14:51

[1] As a precondition, may I understand that the mobile router communicates using the DNS server that I checked in /?

I think it's good.

If [2] [1] is correct, who is the IP of DNS confirmed on the smartphone of の?It only looks like that on the local network, but do you actually use the primary DNS that I checked in で?

I think it's the IP on the LAN side of the mobile router.

The router has the IP address of each network in the connected LAN and WAN.

Internet
   |                // Communicate via IP on WAN side
mobile router
   |                // Communicate via IP on LAN side
 smartphone

Mobile routers also provide DNS services for their wireless LANs.DNS inquiries from your smartphone will be received by your router.The router re-queries DNS on the WAN (ISP or Internet) side and returns the results to the smartphone.

 DNS←→ mobile router DNS←→ smartphone or PS4 over WAN

[3] Who is the IP of the secondary DNS set in で?(Why add 1 to the end becomes a secondary DNS)

There is a high possibility that it doesn't exist even if you just put it in.
I don't think you need to configure secondary DNS.


2022-09-30 14:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.