[FFmpeg-trac] #6432(ffmpeg:new): ~1800 DNS requests per hour

FFmpeg trac at avcodec.org
Thu Jun 1 09:38:20 EEST 2017

#6432: ~1800 DNS requests per hour
             Reporter:  Darkjacky  |                    Owner:
                 Type:  defect     |                   Status:  new
             Priority:  normal     |                Component:  ffmpeg
              Version:  3.2.4      |               Resolution:
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |

Comment (by Cigaes):

 This sysclt output means Linux. On Linux, like all real Unix, DNS
 resolving is done by the libc, not the kernel, so this sysctl output is
 completely uselessĀ ; the DNS TTL has nothing to do with the packets' TTL.

 FFmpeg indeed does not care about DNS TTL. In fact, like all normal
 network applications for Unix, it does not even has access to it. If you
 want to reduce outgoing queries, you need to install a local cache, either
 nscd or a real DNS cache.

 But remember that each DNS request will likely result in a network
 connection immediately afterward, so the benefit is limited.

Ticket URL: <https://trac.ffmpeg.org/ticket/6432#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list