Pinging domain with local ip

I have a domain like server.example.com with IP like 10.147.18.1
On my PC I have following for ping: Ping request could not find host server.example.com. Please check the name and try again.
In Diagnostics when I ping domains like this I got ping: bad address 'server.example.com'.

It's for virtual local network (ZeroTier) on my PC.
How can I configure OpenWrt to allow these addreses being queried?

Device/firmware: tp link wdr3600 OpenWrt 19.07.1 r10911-c155900f66

Go to network->hostname if you want to add the hostname in OpenWrt.
If you have a DNS server for the domain, then you can instead add it in Network->DHCP and DNS->DNS forwardings.

I use CloudFlare whit A records for subdomains.
When I use direct connection the DNS servers of my provider resolved these domains well.

Then you probably need to add the domains to "Domain whitelist". (List of domains to allow RFC1918 responses for.)

1 Like

Thanks! The Rebind protection (Discard upstream RFC1918 responses) option disables it.

1 Like

Yes, the disable of Rebind Protection is the actual fix for the OP's issue.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.