kvz/nsfailover — pull request #2 by thechile (2013-10-15 12:15:36+00:00)
Title: avoid duplicate nameserver entries in resolv.conf

currently the deemed best nameserver denoted by "use_server" will occur twice in the resolv.conf output which isn't ideal and in some circumstances could incur delayed lookups if it were to fail before the next cronjob to test for availability.

Proposed change ensures each nameserver exists only once.