Skip to content

How do I get the correct dns1 and dns2? #8847

Closed as not planned
Closed as not planned
@hzhh110

Description

@hzhh110

Related area

nodemcu-32s

Hardware specification

esp32

Is your feature request related to a problem?

How do I get the correct dns1 and dns2? Why are all the Intranet information such as 192.168.3.1 obtained? Even if my gateway is 192.168.2.1 but I get 192.168.3.1 or something like ETH.dnsIP(0).toString(); ETH.dnsIP(1).toString();

Describe the solution you'd like

How do I get the correct dns1 and dns2? Why are all the Intranet information such as 192.168.3.1 obtained? Even if my gateway is 192.168.2.1 but I get 192.168.3.1 or something like ETH.dnsIP(0).toString(); ETH.dnsIP(1).toString();

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions