Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Resolve hostnames between different lan interfaces
« previous
next »
Print
Pages: [
1
]
Author
Topic: Resolve hostnames between different lan interfaces (Read 1758 times)
snippem
Newbie
Posts: 12
Karma: 1
Resolve hostnames between different lan interfaces
«
on:
January 10, 2023, 11:28:42 am »
Hi all
With esphome I get this error
INFO Reading configuration /config/esphome/esphome-bluetoothtracker.yaml... INFO Starting log output from esphome-bluetoothtracker.local using esphome API WARNING Can't connect to ESPHome API for esphome-bluetoothtracker.local: Error resolving IP address: [Errno -5] No address associated with hostname INFO Trying to reconnect to esphome-bluetoothtracker.local in the background
How do I solve this problem ?
I use unbound and adguardhome to handle dns.
Regards
Marco
Verstuurd vanaf mijn SM-G990B met Tapatalk
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Resolve hostnames between different lan interfaces
«
Reply #1 on:
January 10, 2023, 12:08:07 pm »
Not clear. What is esphome ? where is it, on your LAN? Is AdGuard on OPN or separate server?
Too much to guess here but in general the error suggests there in no entry on your DNS server for that host.
Logged
snippem
Newbie
Posts: 12
Karma: 1
Re: Resolve hostnames between different lan interfaces
«
Reply #2 on:
January 10, 2023, 01:07:09 pm »
i have 2 LAN interfaces LAN 1 for trusted devices and LAN 2 is for guests and iot devices.
On LAN 1 i run homeassistant with esphome to contole some esp32 devices that are located on LAN 2.
Within homeassistant those devices can be controled as home assistant detects them on the specified port.
But when i run the esphome addon to maintain or send code the esp devices are not detected.
The addon cannot resolve the "esp32 name".local to a ip-adres.
The .local doesresolve when the device is on the same LAN interface as home assistant.
«
Last Edit: January 10, 2023, 01:10:23 pm by snippem
»
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Resolve hostnames between different lan interfaces
«
Reply #3 on:
January 10, 2023, 01:40:41 pm »
Right. Sorry, I can't comment. I've no idea how homeassistant works. I don't use it.
Logged
snippem
Newbie
Posts: 12
Karma: 1
Re: Resolve hostnames between different lan interfaces
«
Reply #4 on:
January 10, 2023, 03:02:32 pm »
That's okay
Figured out what the problem was thought i added the interface to mDNS Repeater.
But i didn't
added the interface and problem solved .
topic can be closed
«
Last Edit: January 10, 2023, 03:04:26 pm by snippem
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Resolve hostnames between different lan interfaces