[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] Re: When I have downloads running, DNS fails.
From:       Per Jessen <per () computer ! org>
Date:       2014-07-15 11:01:32
Message-ID: lq31r5$vsm$1 () saturn ! local ! net
[Download RAW message or body]

Carlos E. R. wrote:

> On 2014-07-15 12:35, Per Jessen wrote:
>> Carlos E. R. wrote:
> 
> 
>>>
>>> But the nameserver is mine, in this machine. Should it not cache?
>> 
>> Yes, it should.  You can verify it with dig - pick something you have
>> never looked up, maybe "www.tagi.ch" - on the first dig, you see a
>> TTL of 900, on subsequent digs, you should see the TTL decreasing.
> 
> True.
> 
> ;; Query time: 157 msec
> 
> ...
> 
> ;; Query time: 0 msec
> 
> 
> 
> But if I ask for "telefonica.es" it takes 88 ms, when that address was
> used less than an hour ago, maybe minutes. Supposedly the sites (not
> me) define how long to cache an address.

Yes, that is the TTL = Time-To-Live. You see it in every dig.

dig telefonica.es

; <<>> DiG 9.4.1-P1 <<>> telefonica.es
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41475
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;telefonica.es.                 IN      A

;; ANSWER SECTION:
telefonica.es.          300     IN      A       194.224.58.10
                        ^^^

TTL = 5 minutes.


-- 
Per Jessen, Zürich (18.6 °C)
http://www.dns24.ch/ - your free DNS host, made in Switzerland.

--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic