cyberal
New Around Here
Hello everyone,
I am having trouble achieving my goal of a dual-router setup in my home network, where I'm able to resolve the IP address of a host while connected to the other router.
To make this more explicit:
Router AC68U
WAN:
Connection Type: Automatica IP
Enable WAN: Yes
Enable NAT: Yes
Enable UPnP: Yes
Enable secure UPnP: Yes
DNS:
- Connect to DNS Server Automatically: Yes
- Forward local domain queries to upstream: No
- Enable DNS Rebind: No
- Enable DNSSec: No
- DNS Privacy: None
LAN:
- Device name: asus-ac68u
- IP Address: 10.0.0.1
- Subnet Mask: 255.255.0.0
DHCP:
- Enabled: Yes
- Hide DHCP/RA queries: No
- Domain Name: foo.bar
- Default gateway: (empty)
DNS:
- DNS Server 1: (empty)
- DNS Server 2: (empty)
- Advertise router's IP: Yes
Manual assignment:
- Enabled: yes
Host (reservation):
- ASUS AX88U 10.0.0.2 asus-ax88u
LAN Route:
Enabled: Yes
- 10.1.0.0 / 255.255.0.0 / 10.0.0.2 / / LAN
Router AX68U
WAN:
WAN: Automatic/default settings
Enable WAN: Yes
Enable NAT: Yes
Nat Type: Symmetric
UPnP: Yes
Secure UPnP: Yes
WAN DNS:
Connect to DNS Server automatically: Yes
Forward local domain queries to upstream: Yes
Enable DNS Rebind protection: No
Enable DNSSec: No
Client auto DoH: Auto
DNS Privacy: None
LAN:
Host Name: asus-ax88u
Domain name: foo.bar
IP Address: 10.1.0.1
Subnet Mask: 255.255.0.0
DHCP:
- Enabled: Yes
- Hide DHCP/RA queries: No
- Domain name: foo.bar
- Default gateway: (empty)
DNS:
-Server 1: (empty)
-Server 2: (empty)
- Advertise router's IP in addition to user-specified DNS: Yes
Manual assignment:
- Enabled: yes
Host (reservation):
- PC NAME 10.1.1.5 pc-name
I can confirm that routing by IP works regardless of which router I'm connected to (i'm connecting via WiFi to be specific):
Resolving by hostname works correctly if I'm connected to AX88's LAN network. All of the following work:
but resolving by hostname if I'm connected to the AC68U's LAN network, won't work at all.
The commands that I believe should work are:
What am I doing wrong? I need to be able to have a device in AC68U's LAN that communicates to the devices in AX88U's LAN using hostname instead of IPs directly. Is there another way to achieve this?
Thanks!
I am having trouble achieving my goal of a dual-router setup in my home network, where I'm able to resolve the IP address of a host while connected to the other router.
To make this more explicit:
[ISP] ==> [MODEM] ==> (WAN) [AC68U] (LAN) ==> (WAN) [AX88U] (LAN) ==> (ETH1)[PC]
Router AC68U
WAN:
Connection Type: Automatica IP
Enable WAN: Yes
Enable NAT: Yes
Enable UPnP: Yes
Enable secure UPnP: Yes
DNS:
- Connect to DNS Server Automatically: Yes
- Forward local domain queries to upstream: No
- Enable DNS Rebind: No
- Enable DNSSec: No
- DNS Privacy: None
LAN:
- Device name: asus-ac68u
- IP Address: 10.0.0.1
- Subnet Mask: 255.255.0.0
DHCP:
- Enabled: Yes
- Hide DHCP/RA queries: No
- Domain Name: foo.bar
- Default gateway: (empty)
DNS:
- DNS Server 1: (empty)
- DNS Server 2: (empty)
- Advertise router's IP: Yes
Manual assignment:
- Enabled: yes
Host (reservation):
- ASUS AX88U 10.0.0.2 asus-ax88u
LAN Route:
Enabled: Yes
- 10.1.0.0 / 255.255.0.0 / 10.0.0.2 / / LAN
Router AX68U
WAN:
WAN: Automatic/default settings
Enable WAN: Yes
Enable NAT: Yes
Nat Type: Symmetric
UPnP: Yes
Secure UPnP: Yes
WAN DNS:
Connect to DNS Server automatically: Yes
Forward local domain queries to upstream: Yes
Enable DNS Rebind protection: No
Enable DNSSec: No
Client auto DoH: Auto
DNS Privacy: None
LAN:
Host Name: asus-ax88u
Domain name: foo.bar
IP Address: 10.1.0.1
Subnet Mask: 255.255.0.0
DHCP:
- Enabled: Yes
- Hide DHCP/RA queries: No
- Domain name: foo.bar
- Default gateway: (empty)
DNS:
-Server 1: (empty)
-Server 2: (empty)
- Advertise router's IP in addition to user-specified DNS: Yes
Manual assignment:
- Enabled: yes
Host (reservation):
- PC NAME 10.1.1.5 pc-name
I can confirm that routing by IP works regardless of which router I'm connected to (i'm connecting via WiFi to be specific):
ping 10.1.1.5
Resolving by hostname works correctly if I'm connected to AX88's LAN network. All of the following work:
dig pc-name.foo.bar
dig pc-name
dig @10.1.0.1 pc-name.foo.bar
dig @10.1.0.1 pc-name
but resolving by hostname if I'm connected to the AC68U's LAN network, won't work at all.
The commands that I believe should work are:
dig @10.1.0.1 pc-name.foo.bar
(which uses the LAN IP of AX88U) dig @10.0.0.2 pc-name.foo.bar
(using the WAN IP of AX88U)What am I doing wrong? I need to be able to have a device in AC68U's LAN that communicates to the devices in AX88U's LAN using hostname instead of IPs directly. Is there another way to achieve this?
Thanks!