I finally got around to installing a DNS server after many years of using the HOSTS file.
Using Fedora, I installed BIND and got everything to work perfectly along with a secondary DNS server. Here's the issue I'm having now. Let's say our servers have abc.com as the domain, but our external DNS is handled by register.com who is also our registrar. We have a couple of subdomains that have A records with register.com, which then gets NATed to our internal IPs via our firewall rule. We can get to subdomain.abc.com just fine from inside and outside. However, the issue is when users try to access internal servers from home that do not have DNS entries with register.com. So subdomain1.abc.com can only be accessible from within the office and from the outside via VPN. Why not just NAT them like the ones that currently work? Because we don't have enough IPs and our servers use the same port for most of our servers. We just have our important things that are register with A records w/ register.com
The main issue is we use PPTP to connect from home. The binding order doesn't work correctly so my laptop never hits my PPTP connection's DNS entries. It goes out to look for subdomain1.abc.com from the register.com's DNS server and dies. If it were able to query the local DNS, all would be well.
Using Fedora, I installed BIND and got everything to work perfectly along with a secondary DNS server. Here's the issue I'm having now. Let's say our servers have abc.com as the domain, but our external DNS is handled by register.com who is also our registrar. We have a couple of subdomains that have A records with register.com, which then gets NATed to our internal IPs via our firewall rule. We can get to subdomain.abc.com just fine from inside and outside. However, the issue is when users try to access internal servers from home that do not have DNS entries with register.com. So subdomain1.abc.com can only be accessible from within the office and from the outside via VPN. Why not just NAT them like the ones that currently work? Because we don't have enough IPs and our servers use the same port for most of our servers. We just have our important things that are register with A records w/ register.com
The main issue is we use PPTP to connect from home. The binding order doesn't work correctly so my laptop never hits my PPTP connection's DNS entries. It goes out to look for subdomain1.abc.com from the register.com's DNS server and dies. If it were able to query the local DNS, all would be well.
