Digital Noise
Occasional Visitor
I'm having a bit of a conundrum, and I'm wondering if anyone here has encountered the same issue and perhaps has found a solution.
When I set up my RT-AC66R, I set the LAN > DHCP Server > RT-AC66R's Domain Name value to that of an actual domain name that I own (example.com), such that every machine that connected would get a FQDN - ie. laptop.example.com, xboxone.example.com.
I also made sure to set LAN > DCHP Server > Forward local domain queries to upstream DNS? to No, because no external name servers would know about these internal machines.
And that brings me to my current issue - I picked up a VPS and I want to use a subdomain tied to it such as dev.example.com, I've done all of the configuration on the VPS side - DNS, whois, etc. - but I can't reach it from any machine connected to the RT-AC66R because all local domain queries aren't forwarded, and obviously the router considers dev.example.com to be a local domain query since the domain name on the router is set to example.com.
How can I work around this? Initially I thought to change the value of the Domain Name in the router configuration to something like home.example.com, leading to FQDN's of machine1.home.example.com, which would, in theory, cause dev.example.com to be forwarded to upstream DNS servers.
I think I would run into a number of issues with this on some of my VMs and containers that rely on FQDN to perform actions - yes, I can update them, but it can get complicated. Not to mention that any logging would be technically invalid unless I manually altered the log files - which I'd prefer not to do, especially since they're all going into an internal ELK stack.
I looked at the static route options, but it doesn't let me supply a hostname - only the ip, netmask and gateway, so I don't think that will work.
Is there a way to configure the router to forward only specific local domain queries to upstream DNS, while leaving the rest in the hands of the router?
When I set up my RT-AC66R, I set the LAN > DHCP Server > RT-AC66R's Domain Name value to that of an actual domain name that I own (example.com), such that every machine that connected would get a FQDN - ie. laptop.example.com, xboxone.example.com.
I also made sure to set LAN > DCHP Server > Forward local domain queries to upstream DNS? to No, because no external name servers would know about these internal machines.
And that brings me to my current issue - I picked up a VPS and I want to use a subdomain tied to it such as dev.example.com, I've done all of the configuration on the VPS side - DNS, whois, etc. - but I can't reach it from any machine connected to the RT-AC66R because all local domain queries aren't forwarded, and obviously the router considers dev.example.com to be a local domain query since the domain name on the router is set to example.com.
How can I work around this? Initially I thought to change the value of the Domain Name in the router configuration to something like home.example.com, leading to FQDN's of machine1.home.example.com, which would, in theory, cause dev.example.com to be forwarded to upstream DNS servers.
I think I would run into a number of issues with this on some of my VMs and containers that rely on FQDN to perform actions - yes, I can update them, but it can get complicated. Not to mention that any logging would be technically invalid unless I manually altered the log files - which I'd prefer not to do, especially since they're all going into an internal ELK stack.
I looked at the static route options, but it doesn't let me supply a hostname - only the ip, netmask and gateway, so I don't think that will work.
Is there a way to configure the router to forward only specific local domain queries to upstream DNS, while leaving the rest in the hands of the router?