On 2014-07-15 07:47, Per Jessen wrote:
Carlos E. R. wrote:
It takes about five seconds... I tried 2 or three times, and every time it tries a different route, but starting at the root servers. This command does not appear to cache the answer. "host -v ..." does.
Yes, you're right - "dig" talks directly to the nameserver, whereas "host" uses the resolver which in turn uses nscd.
Ah. Ok. But the nameserver is mine, in this machine. Should it not cache? Unless when you say "+trace" it does not cache.
Just out of curiosity, have you tried assigning a QoS class to port 53 (on the originating machine) ? It is easily done with iptables.
No, I haven't. I would have to study how to do it.
iptables -A PREROUTING -t mangle -p udp --dport domain -j TOS --set-tos Minimize-Delay iptables -A PREROUTING -t mangle -p tcp --dport domain -j TOS --set-tos Minimize-Delay
But it would only benefit one machine, not the rest in the house.
Yes, but if it works, your router would appear to have some idea of how to prioritize traffic correctly.
Ah, I see. Ok, one thing more to my to-do list. I have some "real world" chores waiting... Thanks :-) -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)