[squid-users] this config is ok? is ok the order?

erdosain9 erdosain9 at gmail.com
Mon Jun 5 18:50:42 UTC 2017


Hi. For what I understood. It is important ttl of dns names. So, I wanted to
know when the squid server would ask for resolution again. That is, how long
was the record kept.
Thanks

pd.:whitout -x

[root at squid ~]# dig yahoo.com

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> yahoo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6258
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;yahoo.com.			IN	A

;; ANSWER SECTION:
yahoo.com.		590	IN	A	98.138.253.109
yahoo.com.		590	IN	A	98.139.183.24
yahoo.com.		590	IN	A	206.190.36.45

;; Query time: 4 msec
;; SERVER: 192.168.1.222#53(192.168.1.222)
;; WHEN: lun jun 05 16:00:44 ART 2017
;; MSG SIZE  rcvd: 86

[root at squid ~]# dig pijamasurf.com

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> pijamasurf.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17497
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;pijamasurf.com.			IN	A

;; ANSWER SECTION:
pijamasurf.com.		299	IN	A	104.24.25.112
pijamasurf.com.		299	IN	A	104.24.26.112

;; Query time: 71 msec
;; SERVER: 192.168.1.222#53(192.168.1.222)
;; WHEN: lun jun 05 16:02:15 ART 2017
;; MSG SIZE  rcvd: 75


I wish I could put a bigger ttl to avoid being asked every "little amount of
time" by one address. For example pijamasurf.com = 299 and yahoo = 590, so
who manage that time?? how can i put more time to live?
Or does this make no sense?
Maybe I did not understand Amos's comment. (I thought I read better English
:-))
Thanks



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/this-config-is-ok-is-ok-the-order-tp4682631p4682679.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list