System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

name resolution in isolated SLES9 system

name resolution in isolated SLES9 system

I have a system running SLES9 that is in an isolated network. I am trying to resolve the name of another system in this network but nslookup and host command want to resolve via DNS which is not possible. I suspect that this is causing problems with the backup software, Datat Protector Express on this system since it can't resolve the backup servers name properly. Is there a way configure this system to not look to DNS and resolve via hosts file? Anyone familiar with DPX backup software?
2 REPLIES
Steven E. Protter
Exalted Contributor

Re: name resolution in isolated SLES9 system

Shalom,

If you can't talk to a DNS server, (see hosts entry in /etc/nsswitch.conf and /etc/resolv.conf) then use /etc/hosts networking


192.168.0.10 yourserver.yourdomain.com yourserver
192.168.0.20 netbackup.yourdomain.com netbackup


Change to meet real names and IP addresses.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
J. Maestre
Honored Contributor

Re: name resolution in isolated SLES9 system

You shouldn't have to configure the system, the hosts file just goes before the DNS when resolving names.