Are we sure timeout of 5 seconds is appropriate? (it FEELS too long)
My intuition says that if a DNS query takes longer than 1 second it took too 
long ...

However (consider also the "wait" (-W) parameter for the host command itself)
```

       -W wait
           Timeout: Wait for up to wait seconds for a reply. If wait is less
           than one, the wait interval is set to one second.

           By default, host will wait for 5 seconds for UDP responses and 10
           seconds for TCP connections. These defaults can be overridden by
           the timeout option in /etc/resolv.conf.

           See also the -w option.
```

None-the-less, this is a _workaround_ for the issue -- (will the ticket
remain open to fix the underlying issue, or a subsequent issue be
submitted?)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752411

Title:
  bind9-host, avahi-daemon-check-dns.sh hang forever causes network
  connections to get stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1752411/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to