Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux 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

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Quote Originally Posted by vision_on View Post
    The website is plexus2.serco.com and someone has configured serco.com as an internal DNS domain.
    If I am understanding you correctly that serco.com is on the inside as well as the outside then I would just simple request that plexus2 be added to the internal domain. Then it would not matter if you are internal or external you would get to the server.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...