I'm running Ubuntu 12.04 and I'm trying to ping the following systems:
# internal dns servers nameserver 220.127.116.11 nameserver 18.104.22.168 search oldcompany.com fing.oldcompany.com newcompany.com thing.newcompany.com #domain thing.newcompany.com domain oldcompany.com #domain fing.oldcompany.com #domain newcompany.com #nameserver 22.214.171.124 #commented out due to other issues
If I leave all of those lines uncommented, I won't be able to ping system0 or system1. How do I set it up so I can ping all 4 systems by just using its domain name? In Windows, it resolves every system.
ping system0 ping: unknown host system0 ping system1 ping: unknown host system1
I've been trying to read the man page on resolv.conf but I'm still having issues troubleshooting this problem. No one at my company uses Linux so unfortunately so I'm on my own.
Edit: Updated search so it's only 1 line and now I can ping system0 but still cannot ping system1. However, I can ping system1.fing because it's on the oldcompany domain.