How To Reload Hosts File

Discussion in 'Site & Server Administration' started by T0PS3O, Mar 2, 2006.

  1. #1
    Via Google I get varying answers. It picks up changes instantly, need to reboot Apache, need to restart https service...

    How do I make sure my hosts file changes come into effect?

    We're talking RH Linux.
     
    T0PS3O, Mar 2, 2006 IP
  2. chengfu

    chengfu Well-Known Member

    Messages:
    113
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #2
    A change of the hosts files takes effect immediately (or at least with the next dns query).
     
    chengfu, Mar 2, 2006 IP
  3. jim_rockingham

    jim_rockingham Guest

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I agree whenever I have changed the hosts file the change is immediate..
     
    jim_rockingham, Mar 2, 2006 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    OK thanks.

    I'll have to dig deeper then since whatever it is I'm trying to do, isn't happening.
     
    T0PS3O, Mar 2, 2006 IP