I have a linux machine with two network interfaces. They are both connected to local networks -- one is
192.168.*.*, the other is
192.168.*.* network is completely private and does not have internet access. The
10.*.*.* network does have internet access.
Currently, I can do external ping's and the names will resolve
However, when I try to ping a machine name on the
192.168.*.* network, the name will not resolve
ping computer-name ping computer-name.domain ping computer-name.domain.local
If I specify an IP address, it will resolve
How can I set up DNS settings so that the machine names on the private local network will resolve, but I can still resolve external addresses?
I am using Centos6.