Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, I have Fedora Linux 9 installed on my PC. Due to some strange issues with my service provider I have to forcibly flush the DNS cache. In Windows I ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Location
    In Bangalore
    Posts
    71

    Fedora equivalent of ipconfig /dnsflush

    Hello,

    I have Fedora Linux 9 installed on my PC. Due to some strange issues with my service provider I have to forcibly flush the DNS cache. In Windows I use the command ipconfig /dnsflush (or flushdns), and then things start working fine.

    Is there an equivalent command in Fedora Linux?

    TIA,
    Sachin PK

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Check to see if the cache is running with

    Code:
    service nscd status
    If it is running then

    Code:
    service nscd restart
    If it is not and you want caching then

    Code:
    service nscd start
    Remember GOOGLE is your friend

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Location
    In Bangalore
    Posts
    71
    I logged in as root and at the command prompt gave the command you mentioned.
    Code:
    bash: service: command not found
    What could have been wrong here? Where can I find this 'service' programme?

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    It is locate in the /sbin dir or at least that is were it should be.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Just Joined!
    Join Date
    Mar 2008
    Location
    In Bangalore
    Posts
    71
    Quote Originally Posted by Lazydog View Post
    It is locate in the /sbin dir or at least that is were it should be.
    That did the trick . Thanks for your help.

Posting Permissions

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