Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: How to setup DNS Cashing in openSUSE 11.4

  1. #1
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Lightbulb How to setup DNS Cashing in openSUSE 11.4

    Hi,

    I have tried all kinds of DNS services. Like opendns, Google DNS, 4.2.2.x, Scrubit, DNS Advantage......etc.

    In my experience none of them are consistent enough & there is a fluctuation in their performance.

    A guy told me to try enabling DNS cashing on my openSUSE box.

    I don't know much about DNS caching.

    So, I want to know

    (a) Will enabling DNS caching improve my Internet experience ?

    (b) Is DNS caching enabled by default in openSUSE 11.4 / How to find out ?

    (c) If not enabled by default, how do I enable it ?

    Please reply
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,673
    Blog Entries
    3

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    First make sure that you have installed bind.

    Then get into Yast, network services. That will setup bind for you. The default setup should be fine for a caching server.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    Quote Originally Posted by nrickert View Post
    First make sure that you have installed bind.

    Then get into Yast, network services. That will setup bind for you. The default setup should be fine for a caching server.
    Thanks for your reply,

    Okay I have installed bind .......Now I am in Yast >>> Network Services >>> What should I do now?
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,673
    Blog Entries
    3

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    Network Services --> DNS Server

    Where Yast asks for forwarders, you can give your ISP dns servers as forwarders. Alternatively, it should be okay to leave the list empty.

    The defaults for other choices should work for a caching server.

    The first screen has "Netconfig DNS policy". If you leave that at "auto", then you will probably continue to use your ISP dns servers unless you manually edit "/etc/resolv.conf". If you change to "static", it should set it up for using the caching server. I'm inclined to suggest that you leave it at auto; you can then make a backup copy of "resolv.conf", then edit it to use 127.0.0.1 as the nameserver. That will allow experimenting. You can make those changes permanent at a later time.

    One of the screens gives you a choice of starting manually, or start up now and when rebooting. You probably want "now and when rebooting".

    There's an option to open port in firewall. You should not need that, unless you want other computers to consult your DNS server. You can change the firewall settings later if you decide to do that.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  5. #5
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,317

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    On Thu, 19 May 2011 11:36:05 +0000, suse kid wrote:

    > (a) Will enabling DNS caching improve my Internet experience ?


    Maybe, maybe not. Caching DNS servers also are generally configured to
    negatively cache services they cannot locate for a set period of time, so
    if you happen to cache a non-response from the upstream DNS provider,
    your local cache will just tell you the service doesn't exist.

    If your experience is that none of the upstream providers are consistent
    enough and perform poorly, that tells me there's a problem at your ISP.
    While it's not unusual to *occasionally* lose DNS connectivity, dropping
    DNS connectivity isn't a normal thing and as such, you shouldn't be
    trying to work around the problem with a band-aid, but be working with
    the ISP to figure out what the problem is to fix it *permanently*.

    Jim

    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  6. #6
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    @nrickert

    Thanks after receiving your first post I thought you got busy with some work so tried to configure it myself

    Regarding this issue I went #suse, #ubuntu, #archlinux, #debian #slackware #bind & some 15-20 pages

    But unfortunately wasnt able to get an answer

    At #bind I was told that only for DNS caching dnsmasq is a more appropriate choice.

    I have successfully configured dnsmasq.

    I have taken a print out of this page for future use.

    Thanks & Sorry too I should have waited.

    Can you tell me where does dnsmasq stores its name to ip records ?
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  7. #7
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    @hendersj

    What happens is, suppose I configure Google DNS & start using it. It works well for a long time .....for months but one fine morning I see a delay in name resolution ......then I switch to 4.2.2.x & it gets fast again.



    So, if this is a ISP related problem how come it gets fast instantly as I disconnect & connect my dsl connection (after manually changing the DNS servers)?

    You know better but I guess these public DNS servers go through their ups & downs. Once repaired they perform well I am too impatient to wait for that.
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  8. #8
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    On 05/19/2011 04:36 PM, suse kid wrote:
    >
    > @hendersj
    >
    > What happens is, suppose I configure Google DNS& start using it. It
    > works well for a long time .....for months but one fine morning I see a
    > delay in name resolution ......then I switch to 4.2.2.x& it gets fast
    > again.
    >
    >
    >
    > So, if this is a ISP related problem how come it gets fast instantly as
    > I disconnect& connect my dsl connection (after manually changing the
    > DNS servers)?
    >
    > You know better but I guess these public DNS servers go through their
    > ups& downs. Once repaired they perform well I am too impatient to wait
    > for that.


    It could be buffer bloat anywhere in the path from you to the DNS server. Once
    you select a new path, all those big/full buffers are eliminated from the path.

  9. #9
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    Quote Originally Posted by lwfinger View Post
    It could be buffer bloat anywhere in the path from you to the DNS server. Once
    you select a new path, all those big/full buffers are eliminated from the path.
    How to detect a bufferbloat ?

    How to fix/prevent it ?
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  10. #10
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: How to setup DNS Cashing in openSUSE 11.4

    Tried setting the txqueuelen of ppp0 which was 3 by default to 0.

    http://gettys.wordpress.com/2010/12/...ating-systems/

    Then went to dslreports.com

    Code:
    Speed Test #96986166 by dslreports.com
    Run: 2011-05-19 19:07:27 EST
    Download: 554 (Kbps)
    Upload: 314 (Kbps)
    In kilobytes per second: 67.6 down 38.3 up
    Boost: 1033
    Latency: 264 ms
    Tested by server: 3 flash
    User: anonymous
    User's DNS: bsnl.in
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

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