Pico W STA/AP Interfaces Sharing Same DNS? #11295
Replies: 4 comments 9 replies
-
Why should each Interface use it's own DNS server ? Even in Linux this is not possible out-of-the-box (see Link) - this would require some firewall/iptables magic or special config entries I'm not aware of. |
Beta Was this translation helpful? Give feedback.
-
Resurrecting this post, just curious @Beormund , were you ever able to fix the issue?..I'm confronting a similar problem right now |
Beta Was this translation helpful? Give feedback.
-
thanks for the response. |
Beta Was this translation helpful? Give feedback.
-
@samveen - Looks like we have very similar issues. All I'm wanting is for the pico to advertise its host name using mDNS or some other way, no matter what router it connects too, it needs to be consistent resolving its DNS name on what ever router it hooks up to. (SOHO router or even enterprise/business) From what I gather for the most recent micropython runtime, mDNS issues have been solved. But the issue I'm having is there is hardly any documentation on mDNS for micropython. And I'm not really sure where to start, I have read post where you have to enable it, but again not sure on how to go about that.
This leads me to believe mDNS still isn't working because .local doesn't work. You may know more then me, Am I missing something here? If not my search continues for the pico to advertise itself |
Beta Was this translation helpful? Give feedback.
-
The following is causing havoc with my AP captive portal:
In my application I run a captive portal using the Pico W's soft access point, along with a lightweight DNS server. This enables a user to select a local network and enter a password. This all works well until the STA_IF interface connects and gets an IP. I should be able to display this IP in the captive portal so the user can then copy it and navigate to the new IP once the Pico W has restarted. Unfortunately the captive portal stops working because the AP_IF DNS changes.
I don't think there is a correct separation of DNS between the two interfaces.
Beta Was this translation helpful? Give feedback.
All reactions