i have main router where i set
from ssh i can easily ping
phxxxx1.duckdns.org, which translates to 10.0.1.104
also i have clients connected via eth to that router and these clients can ping phxxxx1.duckdns.org
The issue is that i have 2 dumb APs and clients connected to these aps cant ping
even i cant ping phxxxx1.duckdns.org from ssh shell directly from APs, it says
ping: bad address ' phxxxx1.duckdns.org'
Any idea whats that?
Main router acts as DHCP server and also both dumb APs have set DNS server to 10.0.1.1
well i removed Use custom DNS servers from both dumb APs (from their wan interface)
so i left it empty and now clients on AP can connect to host
but there is other issue from i cant ping host
' directly from within shell of both APs phxxxx1.duckdns.org'
it shows still
ping: bad address ' phxxxx1.duckdns.org'
@lleachii what do u mean by openwrt syntax?
DDNS address of my router yes, its via dynamic dns.
any update here?
also when i connect to my main router via wireguard i cant access the mentioned host
okay my wireguard has DNS set to 184.108.40.206
when i set it to the IP of my router, it all works fine.
If you can ping from
eth, but not from a
wlan, maybe you omitted something in your config. Can you share your:
when i ping host using hostname from laptop it works okay (ping hostname)
when i execute the same ping from openwrt (extenders)
root@OpenWrt-ext1:~# ping xxx.xxx.org
ping: bad address ' xxx.xxx.org'
basically that hostname has to be resolved to IP address (thats how it works correctly from laptop but not from openwrt)
can I check what DNS is using that openwrt device that acts as dump AP (extender)
maybe the issue is that my openwrt extender is missing DNS of my local openwrt (main router)?
this is from openwrt extender>
maybe DNS servers dont have to be set on openwrt extenders (dump routers)?
To see what DNS servers you have set in a system
cat /tmp/resolv.conf. You can also get useful information with
nslookup xxx.xxx.org, about queries.
I'm thinking your
wlan device is not connected properly to your main router, it's not bridged, or your firewall is blocking. But for need you should show your configuration, as I listed above.
root@OpenWrt-ext1:~# cat /tmp/resolv.conf
what do you mean by bridged? its connected like a client to router; maybe what you are saying is that in case its bridging traffic it should not use its own DNS setting but it should use DNS server which is set on main router?
So there's your main router, and the extender other side. They are connected via Wi-Fi right? The interface that handles on your main router is called
wlan. Are you aware how is located this interface in your router, and what firewall rules are applying?
From the first pictures you can clearly see that my
lan interface is a Bridge, that contains multiple interfaces, ethernet inputs and wlans.
On your extender the
wan interface should be connected to the main router, and see its received IP address from it.
well extender is connected via eth cable to main router where main router LAN is
on extender it looks like
I see. I believe the cable is plugged in an ethernet port on the main router, where is it plugged on the extender?
yes main router lan (Ethernet ports). Extender comes with its lan/ethernet port also its netgear ex6120.
Sorry, I've never tried using extenders. Universally speaking, to make sure correct DNS servers are set, I would try one of these (one at once):
config dhcp 'lan'
list dhcp_option '6,your_router_ip'
config interface 'lan'
option dns 'your_router_ip'
For simplicity, restart these two services after either change, or just reboot:
service odhcpd restart
service network restart
You might want to check the OpenWrt documentation on WiFi extenders, repeaters, and bridge configuration -
Wi-Fi extender / repeater / bridge configuration If supported by both devices, consider using WDS, Layer 2 GRE tunnels (“gretap”), or mesh networking. Using relayd as instructed in this article isn't guaranteed to work. The most common problem is...
well maybe the question is simple here.. does repeater require to have DNS set to IP of the main router? thanks
i dont use relayd .. just DUMB ap setup, but in relayd link u posted is stated>
(May be required in certain case) set Gateway address and Use custom DNS servers using IP address of the primary router (e.g. 192.168.1.1)
so it looks like DNS server on extenders/bridges has to be set to the primary router.