hcgonzalezpr
New Around Here
I got 2 asus routers a AC-3100( Router1 ) and a AC-66U ( Router2 ) connected via a IPsec VPN (Other device).
Router1 = 192.168.1.1/24
local domain : router1net
Router2 = 192.168.0.1/24
local domain : router2net
If I add "server=/router2net/192.168.0.1" to my Router1 dnsmasq config from a windows computer in the router1net network I can type "ping router2.router2net" and it resolves the name. What I want to be able to do is just to type ping router2 and have look in both router1net and router2net for that host name.
EDIT:
In order for this to work the server needs to be added without the domain but withe slashes. Ex: "server=//192.168.0.1"
EDIT 2 :
This using server=// can create a loop between the 2 dnsmasq servers. I tried using --dns-loop-detect but its currently not compiled : dnsmasq: loop detection not available: set HAVE_LOOP in src/config.h
Router1 = 192.168.1.1/24
local domain : router1net
Router2 = 192.168.0.1/24
local domain : router2net
If I add "server=/router2net/192.168.0.1" to my Router1 dnsmasq config from a windows computer in the router1net network I can type "ping router2.router2net" and it resolves the name. What I want to be able to do is just to type ping router2 and have look in both router1net and router2net for that host name.
EDIT:
In order for this to work the server needs to be added without the domain but withe slashes. Ex: "server=//192.168.0.1"
EDIT 2 :
This using server=// can create a loop between the 2 dnsmasq servers. I tried using --dns-loop-detect but its currently not compiled : dnsmasq: loop detection not available: set HAVE_LOOP in src/config.h
Last edited: