Score:0

Openwrt don't resolve hostnames to another Openwrt

cn flag

I have 2 Openwrt routers one is on front, another is on the back.

Back router's WAN connected to LAN of front router and have it's own subnet. Back router WAN DNS configured to a front router.

Front router has several local DNS records in hostnames, but it doesn't resolve them for a back router.

Windows computer connected to a front router directly resolves those hostnames no problem.

Why front router do not resolve them for a back router?

yagmoth555 avatar
cn flag
Hi, does the back router NAT or don't ? Your setup is ususally done with the back router subnet route added the the front router. The front router reply ICMP redirect to any computer that want to talk to the other subnet. I suspect you double NAT, which will cause other problem.
Vladimir avatar
cn flag
@yagmoth555 yes they all NAT
vidarlo avatar
ar flag
How is name resolution configured on all implied systems?
Vladimir avatar
cn flag
@vidarlo It's dnsmasq on front router. I'm newby, I use Luci GUI
vidarlo avatar
ar flag
@Vladimir I don't think Serverfault is the right place for such an question; it's hardly about managing IT in a business environment. I'd suggest superuser.com - and include more information about your setup.
Vladimir avatar
cn flag
@yagmoth555 yes I think the problem is in double NAT, I will consider it, thank you.
Vladimir avatar
cn flag
@vidarlo yes I think you right I'm closing my question, thank you.
yagmoth555 avatar
cn flag
If you want to prevent the double NAT to optimize your network it's a discussion we can have too I dont mind, we can use the chat channel of the site as it's out of scope of the questions.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.