Results 1 to 3 of 3
Hi all,
Very new to Linux, so would appreciate some help.
I have an application that runs on Redhat, which is an internet filter. This server uses DNS to resolve ...
- 07-28-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 1
Name to IP resolution
Hi all,
Very new to Linux, so would appreciate some help.
I have an application that runs on Redhat, which is an internet filter. This server uses DNS to resolve names however someone has configured an internal DNS domain with the same name as an external website, which is causing me problems.
The website is plexus2.serco.com and someone has configured serco.com as an internal DNS domain.
Can I just use the hosts file in /etc to resolve this issue, which doesn't seem to work?
Or is there another file that resolves names to IP addresses in Linux?
Thanks.
- 07-28-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Google: linux name resolution
The nsswitch.conf controls what is used and in what order. If "files" is listed before "dns" then the hosts file will be checked first.
And if you make a change, just like any OS, flush any cached DNS data.
Code:/etc/init.d/nscd restart
- 07-28-2009 #3


Reply With Quote
